Support Questions
Find answers, ask questions, and share your expertise

org.apache.hadoop.security.authorize.AuthorizationException: User: root is not allowed to impersonate admin - Submit Workflow from Ambari Workflow Manager

Hello all,

I am getting below error when I tried to submit Workflow from Workflow Manager View in Ambari.

at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.hadoop.security.authorize.AuthorizationException: User: root is not allowed to impersonate admin

I also added to core-site properties:

hadoop.proxyuser.root.groups="users"
hadoop.proxyuser.root.hosts=ambari-server.hostname

I have Ambari runs as root but I login to Ambari as admin. Could you please help me how to avoid the AuthorizationException.

Many Thanks

JT Ng

1 ACCEPTED SOLUTION

Accepted Solutions

Super Guru
@JT Ng

Please modify these properties as below in core-site.xml via Ambari --> Restart required services --> It should fix your issue.

hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*

Please do let me know if you have any questions.

View solution in original post

2 REPLIES 2

Super Guru
@JT Ng

Please modify these properties as below in core-site.xml via Ambari --> Restart required services --> It should fix your issue.

hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*

Please do let me know if you have any questions.

View solution in original post

Thanks Kuldeep. Its working now