我正在尝试在HDP 2.6.4上使用Ambari安装Splice Machine Master服务2.7。本文档https://github.com/splicemachine/spliceengine/blob/branch-2.7/platforms/hdp2.6.4/docs/HDP-installation.md中列出的所有前提条件均已验证,并且Active hBase https://github.com/splicemachine/spliceengine/blob/branch-2.7/platforms/hdp2.6.4/docs/HDP-installation.md已安装在同一节点上。但我在服务启动时出现了以下错误:
INFO 2018-12-26 18:03:39,286 PythonReflectiveExecutor.py:67 - Reflective command failed with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file
imp.load_source('__main__', script)
File "/var/lib/ambari-agent/cache/common-services/SPLICEMACHINE/2.5.1/package/scripts/splice_install_master.py", line 97, in <module>
SpliceInstallMaster().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/SPLICEMACHINE/2.5.1/package/scripts/splice_install_master.py", line 32, in status
import params
File "/var/lib/ambari-agent/cache/common-services/SPLICEMACHINE/2.5.1/package/scripts/params.py", line 81, in <module>
immutable_paths = get_not_managed_resources(),
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_not_managed_resources.py", line 36, in get_not_managed_resources
not_managed_hdfs_path_list = json.loads(config['hostLevelParams']['not_managed_hdfs_path_list'])[:]
File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())TypeError:应为字符串或缓冲区
为什么会发生这种情况?
发布于 2018-12-28 01:52:11
看起来像一个bug (损坏的python脚本)。可能取决于您的集群配置。我建议你在https://community.hortonworks.com/index.html上问问
https://stackoverflow.com/questions/53937138
复制相似问题