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.

User [dr.who] is not authorized to view the logs

avatar
Super Collaborator

Hi,

When browsing the logs from Yarn UI, we're prompted with this message

"User [dr.who] is not authorized to view the logs for container_e29_1466052817052_0956_01_000002 in log file"

Please help how to solve this issue of mine.

Best regards,

Thank you!

1 ACCEPTED SOLUTION
7 REPLIES 7

avatar
Super Collaborator

@Michael Dennis "MD" Uanang Please verify if you have hadoop.security.authorization property set to false in core-site.xml

avatar
Super Collaborator

Hi @rguruvannagari,

Just verified, and hadoop.security.authorization is set to false.

avatar
Super Collaborator

Add the below property from ambari

Ambari > HDFS > Configurations > Advanced core-site > Add Property hadoop.http.staticuser.user=yarn

avatar
Super Collaborator

Thanks @rguruvannagari!

Same answer from the comment of @Rajeshbabu Chintaguntla.

avatar
Super Collaborator

Thanks @Rajeshbabu Chintaguntla

After adding the hadoop.http.staticuser.user=yarn (and as also mentioned by @rguruvannagari), solved my issue.

avatar
Master Guru

@Michael Dennis "MD" Uanang Please take a look at same question which was answered here and solved.