Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
Rising Star

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

avatar
Master 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

avatar
Master 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.

avatar
Rising Star

Thanks Kuldeep. Its working now