You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/06/04 15:59:00 UTC
[jira] [Commented] (AMBARI-24021) Atlas fails to start in an
unsecure cluster after Ambari Upgrade . Error - Unable to run the custom
hook script
[ https://issues.apache.org/jira/browse/AMBARI-24021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500413#comment-16500413 ]
Hudson commented on AMBARI-24021:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9397 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9397/])
AMBARI-24021. Atlas fails to start in an unsecure cluster after Ambari (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=f5af2b4946e8104e885799fa978b83975a159bbf])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.6/services/SPARK2/configuration/livy2-env.xml
> 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: 0.5h
> 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)