Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.