Getting "User [dr.who] is not authorized to view the logs for application <AppID>" while running a YARN application

4.8k Views Asked by At

I'm running a custom Yarn Application using Apache Twill in HDP 2.5 cluster, but I'm not able to see my own container logs (syslog, stderr and stdout) when I go to my container web page: enter image description here

Also the login changes from my kerberos to "dr.who" when I navigate to this page. But I can see the logs of map-reduce jobs. Hadoop version is 2.7.3 and the cluster is yarn acl enabled.

1

There are 1 best solutions below

0
On

i had this issue with hadoop ui. I found in this doc, that the hadoop.http.staticuser.user is set to dr.who by default and you need include it in the related setting file (in my issue is core-site.xml file). so late but hope useful.