在安裝 CDH 時,到 Install Parcels 這一步,分發 Parcels 一直過不去,界面一直報 Failure due to stall on seeded torrent,查看日誌一直重複報 No hashweb
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
# 查看 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
# 臨時關閉 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
systemctl restart cloudera-scm-agent