install knox error. IndexError: list index out of range

一曲冷凌霜 提交于 2019-12-13 03:07:49

问题


After upgrading from HDP 2.7 to HDP 3.1, I manually uninstalled many services, such as spark2,hive,hbase and Knox, for some reason.

When I tried to install Knox, the installation failed.


env:

ambari 2.7

HDP 3.1

enabled kerberos

used openldap


stderr: /var/lib/ambari-agent/data/errors-15457.txt

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/knox_gateway.py", line 215, in <module>
    KnoxGateway().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/knox_gateway.py", line 52, in install
    import params
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/params.py", line 27, in <module>
    from params_linux import *
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/params_linux.py", line 248, in <module>
    hbase_master_host = hbase_master_hosts[0]
IndexError: list index out of range

What caused this problem?

What should I do?

Thanks for helping me.

来源:https://stackoverflow.com/questions/55840743/install-knox-error-indexerror-list-index-out-of-range

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!