0

我正在尝试在 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 Master 安装在同一节点上. 但是我在服务启动时出现以下错误:

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:预期的字符串或缓冲区

为什么会发生?

4

1 回答 1

0

看起来像一个错误(损坏的 python 脚本)。可能取决于您的集群配置。我建议在https://community.hortonworks.com/index.html询问

于 2018-12-27T17:52:11.420 回答