日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

CDH 6 安装服务哈希验证失败 解决方法

發布時間:2024/8/23 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CDH 6 安装服务哈希验证失败 解决方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

當安裝cdh 6,使用本地搭建的parcel時,出現了哈希驗證失敗的問題:

查看了parcel的sha值,與官網的一致,沒有問題:

#parcel sha值 [root@localhost bigdata]# sha1sum CDH-6.0.0-1.cdh6.0.0.p0.537114-el7.parcel de86cc42380f073f4906801913d7083b39e46db7 CDH-6.0.0-1.cdh6.0.0.p0.537114-el7.parcel#sha文件里的值 [root@localhost bigdata]# cat CDH-6.0.0-1.cdh6.0.0.p0.537114-el7.parcel.sha de86cc42380f073f4906801913d7083b39e46db7

說明哈希值是正確的,不是包發生錯誤或者sha值寫的不對。
后查找相關資料,發現是httpd服務的問題,在配置文件中需要加上parcel選項

[root@localhost bigdata]# vim /etc/httpd/conf/httpd.conf#在<IfModule mime_module>模塊添加 parcel選項<IfModule mime_module>## TypesConfig points to the file containing the list of mappings from# filename extension to MIME-type.#TypesConfig /etc/mime.types## AddType allows you to add to or override the MIME configuration# file specified in TypesConfig for specific file types.##AddType application/x-gzip .tgz## AddEncoding allows you to have certain browsers uncompress# information on the fly. Note: Not all browsers support this.##AddEncoding x-compress .Z#AddEncoding x-gzip .gz .tgz## If the AddEncoding directives above are commented-out, then you# probably should define those extensions to indicate media types:#AddType application/x-compress .ZAddType application/x-gzip .gz .tgz .parcel #此處添加.parcel# #重啟http服務 [root@localhost bigdata]#systemctl restart httpd

最終成功安裝:

總結

以上是生活随笔為你收集整理的CDH 6 安装服务哈希验证失败 解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。