1. 问题:yarn启动报错,报错内容为 ValueError: dictionary update sequence element #86 has length 1; 2 is required
解决办法:
修改 cm-5.1.3/lib64/cmf/agent/src/cmf/util.py文件
pipe = subprocess.Popen(['/bin/bash', '-c', ". %s; %s; env" % (path, command)],
改为
pipe = subprocess.Popen(['/bin/bash', '-c', ". %s; %s; env | grep =" % (path, command)],
改为
pipe = subprocess.Popen(['/bin/bash', '-c', ". %s; %s; env | grep =" % (path, command)],
即可正常启动yarn