Member since
04-26-2016
11
Posts
0
Kudos Received
0
Solutions
12-26-2018
05:53 PM
Thanks Akhil, that helps.
... View more
12-26-2018
04:13 PM
Thanks you Robert and Sampath. In our environment editing the sudoers file is not an option. Can the Ambari-server be changed to run as root user by running "ambari-server setup" and restarting Ambari at this point and then restart "Enable Kerberos Wizard" ?
... View more
12-26-2018
02:16 AM
HDP 2.6.4 on RHEL 7 Ambari is running under non-root user. While enabling Kerberos using Ambari, "Configure Ambari Identity" step errors out as the keytab file, /etc/security/keytabs/spnego.service.keytab is owned by non-root Ambari user. Error: ambari.server.AmbariException:chown: changing ownership of ‘/usr/hdp/security/keytabs/spnego.service.keytab’: Operation not permitted The .csv file shows it has to be owned by root:hadoop and the non-root user is not able to do chown due to OS limitations. How to get around this issue ? Can the Ambari-server be changed to run as root user by running "ambari-server setup" and restarting Ambari at this point and then restart "Enable Kerberos Wizard" ? Any advice is welcome.
... View more
Labels:
12-25-2018
02:24 PM
The keytab file, /etc/security/keytabs/spnego.service.keytab is created and is owned by non-root user. The .csv file shows it has to be owned by root:hadoop and the non-root user is not able to do chown due to OS restrictions. How to get around this limitation ? Can the Ambari-server be changed to run as root user from non-root user at this point? If so, what are the steps? Any suggestion is welcome.
... View more
12-25-2018
01:47 AM
Thank you Akil and Harald Berghoff, I could resolve the indentation issues on stack_advisor.py and get past that error. No I face a permission issue at the "kerberise cluster" stage in Ambari. The error is: Task #4945 failed to complete execution due to thrown exception: org.apache.ambari.server.AmbariException:chown: changing ownership of ‘/etc/security/keytabs/spnego.service.keytab’: Operation not permitted Ambar is running as a non-root user and the owner of spnego.service.keytab is a ambari user and not a root user. Not sure o what user it is trying to change and what permission is required.
... View more
12-22-2018
01:28 AM
HDP 2.6.4.0 on RHEL 7 While enabling Kerberos the client install failed with the below error: Error occured in stack advisor.
Error details: unindent does not match any outer indentation level (stack_advisor.py, line 69)
21 Dec 2018 17:14:53,092 INFO [Server Action Executor Worker 3279] StackAdvisorRunner:71 - advisor script stderr: Traceback (most recent call last):
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 173, in <module>
main(sys.argv)
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 103, in main
stackAdvisor = instantiateStackAdvisor(stackName, stackVersion, parentVersions)
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 154, in instantiateStackAdvisor
stack_advisor = imp.load_module('stack_advisor_impl', fp, path, ('.py', 'rb', imp.PY_SOURCE))
File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.6/services/stack_advisor.py", line 69
if streamline_env:
^
IndentationError: unindent does not match any outer indentation level
21 Dec 2018 17:14:53,092 WARN [Server Action Executor Worker 3279] ServerActionExecutor:459 - Task #3279 failed to complete execution due to thrown exception: org.apache.ambari.server.AmbariException:Stack Advisor reported an error: IndentationError: unindent does not match any outer indentation level Any help to resolve this issue is highly appreciated.
... View more
Labels: