zl程序教程

您现在的位置是:首页 >  其它

当前栏目

No hash for parcel CDH-XXX.parcel.torrent

for No HASH xxx CDH
2023-09-27 14:23:43 时间

在安装 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