[ https://issues.apache.org/jira/browse/AMBARI-24021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Levas updated AMBARI-24021: ---------------------------------- Reporter: Jasmeen Kaur (was: Attila Magyar) > Atlas fails to start in an unsecure cluster after Ambari Upgrade . Error - > Unable to run the custom hook script > --------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-24021 > URL: https://issues.apache.org/jira/browse/AMBARI-24021 > Project: Ambari > Issue Type: Improvement > Affects Versions: 2.7.0 > Reporter: Jasmeen Kaur > Assignee: Attila Magyar > Priority: Major > Labels: pull-request-available > Fix For: 2.7.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 1) Deployed cluster with Ambari version: 2.6.2.0-155 and HDP version: > 2.6.5.0-292 in an unsecure cluster. > 2) Upgrade Ambari to 2.7.0.0-630 > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", > line 35, in <module> > BeforeAnyHook().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/stack-hooks/before-ANY/scripts/hook.py", > line 29, in hook > setup_users() > File > "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/shared_initialization.py", > line 50, in setup_users > groups = params.user_to_groups_dict[user], > KeyError: u'livy' > Error: Error: Unable to run the custom hook script ['/usr/bin/python', > '/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py', 'ANY', > '/var/lib/ambari-agent/data/command-232.json', > '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', > '/var/lib/ambari-agent/data/structured-out-232.json', 'INFO', > '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_2', ''] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)