CDH5.8.2安裝之Hash verification failed
一.問題 Hash verification failed
在cdh5.8.2 web介面叢集安裝過程中,Parcels hash校驗失敗。
二.解決方法1(矇蔽)
1.修改manifest.json的hash值
[root@hadoop-01 parcels]# cat CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel.sha
227d11e344698c70e654ca6768fc017735b73ae3
[root@hadoop-01 parcels]# sha1sum CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
cb7c70d07e68a256a1cb3b06e79e688ac64f3432 CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
[root@hadoop-01 parcels]# cat manifest.json | grep CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
"parcelName": "CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel",
[root@hadoop-01 parcels]# vi manifest.json
#按:/ 進入搜尋模式,輸入CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel,
將其的hash從227d11e344698c70e654ca6768fc017735b73ae3 改為cb7c70d07e68a256a1cb3b06e79e688ac64f3432
2.在web介面,單擊 Back,再單擊 Continue
三.解決方法2(根源)
假如解決方法1,還是不能解決,可能parcel檔案損壞。
故需要重新下載,這時web介面不要關閉,單擊 Back,再單擊 Continue。
1.刪除本地CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel檔案
[root@hadoop-01 parcels]# rm -f CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
2.重新下載
[root@hadoop-01 parcels]# wget
3.再次校驗hash值,對比
[root@hadoop-01 parcels]# sha1sum CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
227d11e344698c70e654ca6768fc017735b73ae3 CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
[root@hadoop-01 parcels]#
[root@hadoop-01 parcels]# cat CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel.sha
227d11e344698c70e654ca6768fc017735b73ae3
### 一致,就說明下載檔案是完整的,未損壞
4.在web介面,單擊 Back,再單擊 Continue,發現error
ERROR:
? Src file /opt/cloudera/parcels/.flood/CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel/CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel does not exist - hadoop-01 ...and 4 others
5.在web介面,果斷快速的單擊 Back
6. 手工去每臺機器刪除資料夾/opt/cloudera/parcels/.flood 和 重啟agent
[root@hadoop-01 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-02 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-03 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-04 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-05 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-06 ~]# rm -rf /opt/cloudera/parcels/.flood
[root@hadoop-01 ~]# service cloudera-scm-agent restart
[root@hadoop-02 ~]# service cloudera-scm-agent restart
[root@hadoop-03 ~]# service cloudera-scm-agent restart
[root@hadoop-04 ~]# service cloudera-scm-agent restart
[root@hadoop-05 ~]# service cloudera-scm-agent restart
[root@hadoop-06 ~]# service cloudera-scm-agent restart
7. 在web介面,再單擊 Continue,發現以下錯誤
? Untar failed with return code: 2, with tar output: stdout: [], stderr: [ gzip: stdin: invalid compressed data--crc error tar: Child returned status 1 tar: Error is not recoverable: exiting now ] - hadoop-04
8.谷歌,cloudera社群搜尋,無法解決
9.再次執行 步驟6
10.關閉當前頁,開啟
11. 單擊 Add Cloudera Management Service,建立cms服務
12.單擊 Add Cluster,建立叢集,失敗,無法單擊continue,應該是個bug
13. 強制解除安裝和清理的叢集的檔案和安裝包
14. 重新安裝,其介面如下
四. 吸取教訓:
a.校驗下載的檔案
b當出現Hash verification failed,不要做解決方案1,直接執行解決方案2的step 1-3,然後單擊back,再continue按鈕
c.乾脆執行解決方案2的step 13-14
五.備註
遇之問題,與之鬥爭,窮盡方法,提高自己,重新再來。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30089851/viewspace-2128607/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在 UOS 統信安裝 dotnet sdk 失敗 提示 failed the verificationAI
- SSH Host key verification failedAI
- SCP報錯:Host key verification failed.AI
- CocoaPods安裝出現SSL verification errorError
- 11gR2 grid安裝最後報錯[INS-20802] Oracle Cluster Verification Utility failedOracleAI
- oracle之 安裝 11G RAC 報 NTP failedOracleAI
- [INS-20802] Oracle Cluster Verification Utility failedOracleAI
- Linux 報錯Certificate verification failed: The certificate is NOT trusted.LinuxAIRust
- 寶塔:續簽SSL證書報錯Verification failed, domain name resolution error or verification URL cannot be accessed!AIError
- CDH5.8.2之Enabling NTPH5
- [sublime xftp外掛] Host key verification failed ,錯誤處理FTPAI
- javascript:void(null)gitLab---Host key verification failed.JavaScriptNullGitlabAI
- SSH 登入失敗:Host key verification failed 的處理方法AI
- vscode中Git: host key verification failed的解決辦法VSCodeGitAI
- Mac SSH 連線出現 Host key verification failed. 錯誤解決MacAI
- 安裝失敗(Installing failed)AI
- 安裝RAC: /etc/resolv.conf failedAI
- 安裝CLUSTER碰到 Assertion failed offset fFileSize錯誤AI
- docker安裝matlab mount failed: Operation not permitted.DockerMatlabAIMIT
- ffmpeg安裝之mac安裝Mac
- SPARK 安裝之scala 安裝Spark
- PSU之解除安裝與安裝
- ffmpeg安裝之linux編譯安裝Linux編譯
- 紅米note5安裝提示:INSTALL_FAILED_USER_RESTRICTEDAIREST
- bug-android之INSTALL_FAILED_NO_MATCHING_ABIS無法安裝在虛擬機器AndroidAI虛擬機
- Flutter起步之安裝Flutter
- Redis之安裝部署Redis
- puppet之安裝配置
- oracle11g rac最後階段報ins-20802 oracle cluster verification utility failedOracleAI
- MySQL 5.6.21下載安裝之安裝篇(二)MySql
- Vue專案在安裝依賴時報錯:“this[kHandle] = new _Hash(algorithm, xofLen);“VueGo
- 安裝android studio報錯Failed to install Intel HAXM.AndroidAIIntel
- Flask之 安裝與HelloWorldFlask
- CentOS 7.0 之 FastDFS安裝CentOSAST
- MongoDB之安裝並配置MongoDB
- python之feedparser安裝Python
- Cacti的安裝之CentOSCentOS
- TSM之——CLIENT安裝配置client