Yarn does not have any impersonation or even a GetLog() API. So Hue does not have any other choice than fetching the logs itself. A current workaround is to allow Hue to fetch them with below (Hue is already a proxy user for HDFS, Hive, Oozie... anyway).
<property>
<name>mapreduce.cluster.acls.enabled</name>
<value>true</value>
</property>
<property>
<name>mapreduce.job.acl-view-job</name>
<!-- Allow NO users except owner and admins, and Hue sessions -->
<value>mapred,hue</value>
</property>
<property>
<name>mapreduce.job.acl-modify-job</name>
<!-- Allow NO users except owner and admins, and Hue sessions -->
<value>mapred,hue</value>
</property>