No hash for parcel CDH-XXX.parcel.torrent

拥有回忆 提交于 2019-11-30 03:25:18

在安装 CDH 时,到 Install Parcels 这一步,分发 Parcels 一直过不去,界面一直报 Failure due to stall on seeded torrent,查看日志一直重复报 No hash

WARN scm-web-412:com.cloudera.server.web.cmf.ParcelController: No hash for parcel CDH-5.16.2-1.cdh5.16.2.p0.8-el7.parcel.torrent
INFO scm-web-412:com.cloudera.server.web.cmf.ParcelController: Served parcel CDH-5.16.2-1.cdh5.16.2.p0.8-el7.parcel.torrent (81526 bytes) to 192.168.8.5 over PT0S.  Rate: Infinity MB/s

 

解决方法

1.为文件生成 hash

# 查看
sha1sum /opt/cloudera/parcel-repo/CDH-5.16.2-1.cdh5.16.2.p0.8-el7.parcel.torrent

# 创建
vim /opt/cloudera/parcel-repo/CDH-5.16.2-1.cdh5.16.2.p0.8-el7.parcel.torrent.sha

 

2.关闭 IPV6

# 临时关闭
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

# 刷新,使设置生效
sysctl -p

# 永久关闭
vim /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1

# 关闭指定网卡的 IPV6
# 例如对于 enp2s0f0 网卡,添加下面行
net.ipv6.conf.enp2s0f0.disable_ipv6=1

 

3.重启子节点服务

systemctl restart cloudera-scm-agent

 


https://www.jianshu.com/p/b7601c5341a3

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!