我正在尝试将 CHD3 安装到 3 节点集群上。我通过 Cloudera Manager 启动安装。所有三个安装都失败。
Cloudera 安装失败后,我在 /var/log/cloudera-scm-agent/cloudera-scm-agent.out 中看到此错误:
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 19, in <module>
import psutil
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/psutil-0.3.0-py2.6-linux-x86_64.egg/psutil/__init__.py", line 84, in <module>
TOTAL_PHYMEM = _psplatform.phymem_usage()[0]
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/psutil-0.3.0-py2.6-linux-x86_64.egg/psutil/_pslinux.py", line 122, in phymem_usage
percent = usage_percent(total - (free + buffers + cached), total,
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
显然,在启动时运行的 Python 解释器将“free”、“buffers”或“cached”视为具有 NoneType 并且此错误会导致整个安装回滚。
谁能建议为什么会发生这种情况和/或解决问题的方法?
提前致谢。