Created 07-16-2018 07:35 AM
Installing Livy for Spark2 returns
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-3302.json', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-3302.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_2', '']
Checked the apache JIRA and found that it should have already been fixed: https://issues.apache.org/jira/browse/AMBARI-24021
Created 07-16-2018 11:40 AM
Created 07-16-2018 12:16 PM
I did a clean install last night and it was all successful, in HDP 3.0 during the account configuration you need to setup users like attached did you do that?
Created 07-16-2018 04:17 PM
My installation is not a fresh one. It is an upgrade from HDP 2.6.4 to 3.0 and Ambari from 2.6.1 to 2.7.0.
Any idea?