下载打包文件 http://archive-primary.cloudera.com/cdh5/parcels/latest/
放到
[root@master init.d]#ls /opt/cloudera/parcel-repo/ CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel manifest.json
查看mainfest.json文件里 el6下的hash值
{ "parcelName": "CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel", "components": [ "hash": "67fc4c86b260eeba15c339f1ec6be3b59b4ebe30"
然后
[root@master parcel-repo]# echo '767cf5b995c38ea467270373dee09f471194b393' >> CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel.sha [root@master parcel-repo]# ls CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel.sha manifest.json [root@master parcel-repo]# cat CDH-5.1.0-1.cdh5.1.0.p0.53-el6.parcel.sha 767cf5b995c38ea467270373dee09f471194b393