23,120
社区成员
对于此 Cloudera Manager 版本 (5.7.0) 太新的 CDH 版本不会显示
将sha1 改成 sha,然后重启server,agent
CDH-5.7.0-1.cdh5.7.0.p0.45-el7.parcel.sha1
进入配置
vi /etc/security/limits.conf
添加以下两行
修改以下配置
/opt/cm5.7.0/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/client_configs.py
脚本下444行
if line.startswith("/"):
if len(line.rstrip().split(" "))<=4:
path, _, _, priority_str = line.rstrip().split(" ")
# Ignore the alternative if it's not managed by CM.
if CM_MAGIC_PREFIX not in os.path.basename(path):
continue
try:
priority = int(priority_str)
except ValueError:
THROTTLED_LOG.info("Failed to parse %s: %s", name, line)
key = ClientConfigKey(name, path)
value = ClientConfigValue(priority, self._read_generation(path))
ret[key] = value
else:
pass
return ret
添加if len(line.rstrip().split(“”))<=4:
和
else:
Pass
/opt/cm-5.7.0/etc/init.d/cloudera-scm-server restart
/opt/cm-5.7.0/etc/init.d/cloudera-scm-agent restart
报 Failure due to stall on seeded torrent
关闭 Linux 的ipv6
centos 7 关闭方法如下:
方法一:
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
或
echo 1>/proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1>/proc/sys/net/ipv6/conf/default/disable_ipv6
方法二:
编辑文件 /etc/sysctl.conf
添加下面的行:
net.ipv6.conf.all.disable_ipv6 =1
net.ipv6.conf.default.disable_ipv6 =1
如果你想要为特定的网卡禁止IPv6,比如,对于enp0s3,添加下面的行。
net.ipv6.conf.enp0s3.disable_ipv6 =1
保存并退出文件。
执行下面的命令来使设置生效。
sysctl -p