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

相关文章:

  • 2021-10-06
  • 2021-10-20
  • 2022-01-31
  • 2021-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-11-20
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2021-07-18
  • 2021-11-18
  • 2021-06-06
  • 2021-09-06
  • 2021-11-28
相关资源
相似解决方案