构建命令:
tar zcvf GPLEXTRAS-5.0.0-gplextras5b2.p0.32-el6.parcel GPLEXTRAS-5.0.0-gplextras5b2.p0.32/ --owner=root --group=root
把文件都放到一个http可访问的目录下,然后在“Parcel 设置”里面配置URL 目录结构
-rw-r--r-- 1 kpi kpi 15509175 Jul 19 15:34 CUSTOM-5.4.0-1.cdh5.4.0.p2.5-el6.parcel
-rw-rw-r-- 1 kpi kpi 41 Jul 19 15:41 CUSTOM-5.4.0-1.cdh5.4.0.p2.5-el6.parcel.sha1
-rw-r--r-- 1 kpi kpi 500 Jul 19 15:52 manifest.json
manifest.json 文件如下,里面的hash值要对应上,components里面随便填,不要和原来的冲突
{
"lastUpdated": 14993731500000,
"parcels": [
{
"parcelName": "CUSTOM-5.4.0-1.cdh5.4.0.p2.5-el6.parcel",
"components": [
{
"pkg_version": "2.5+cdh5.4.0+0",
"name": "hadoop-custom",
"version": "2.5+cdh5.4.0+0"
}
],
"conflicts": "CDH (<< 5.4.0), CDH (>> 5.12.0.)",
"hash": "fba901a470aedc7f0e83248a989f7dcd04b5dafb"
}
]
}