[ https://issues.apache.org/jira/browse/AMBARI-24135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko updated AMBARI-24135: ---------------------------------------- Component/s: ambari-server > Stop of Knox Gateway fails after deleting Hive from cluster post upgrade. > ------------------------------------------------------------------------- > > Key: AMBARI-24135 > URL: https://issues.apache.org/jira/browse/AMBARI-24135 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Priority: Blocker > Fix For: 2.7.0 > > > *STR* > 1) Deployed cluster with Ambari version: 2.6.2.0-155 and HDP version: > 2.6.2.0-205 > 2) Ambari upgrade - 2.7.0.0-709 > 3) Stack upgrade to 3.0.0.0-1478 > 4) Delete Hive from the cluster > 5) Stop All Services > Stop of Knox Gateway fails with below error: > {code:java} > 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 353, in execute > method(env) > File > "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/knox_gateway.py", > line 152, in stop > 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 229, in <module> > hive_server_host = hive_server_hosts[0] > IndexError: list index out of range > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)