title: Getting "User [dr.who] is not authorized to view the logs for application <AppID>" while running a YARN application
body: <p>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:
  <a href="https://i.stack.imgur.com/ZDM2Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZDM2Y.png" alt="enter image description here"></a></p>
  
  <p>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.</p>