Created 10-30-2017 10:33 AM
Hello!
I have HDP 2.5 cluster with KERBEROS enabled, connected to Active Directory.
When I try to switch on HTTP AUTH -
Logs can be retrived using shell
yarn logs -applicationId application_1509115509826_0001
I can't access any logs from YARN UI for example
<YARN-RM-HOST>:19888/jobhistory/logs/<NODE>:45454/container_e56_1509115509826_0001_01_000001/container_e56_1509115509826_0001_01_000001/hive
With following error:
User <MY Active Directory User> is not authorized to view the logs for container_e56_1509115509826_0001_01_000001 in log file [<NODE>_45454_1509118017724]No logs available for container container_e56_1509115509826_0001_01_000001
Created 10-30-2017 10:54 AM
Can you please check if you have the following configuration in your yarn configs? Also please check the proxy user settings are correct.
yarn.admin.acl=* yarn.acl.enable=false
.
Also please share the value of the following property from the core-site : "hadoop.http.staticuser.user"
Have you tried restarting the History Server?
Created 10-30-2017 10:54 AM
Can you please check if you have the following configuration in your yarn configs? Also please check the proxy user settings are correct.
yarn.admin.acl=* yarn.acl.enable=false
.
Also please share the value of the following property from the core-site : "hadoop.http.staticuser.user"
Have you tried restarting the History Server?
Created 10-30-2017 11:42 AM
Your settings solve the problem.
I have default values
yarn.admin.acl=yarn,dr.who yarn.acl.enable=true
hadoop.http.staticuser.user = yarn
Created 10-30-2017 12:19 PM
Also works for me after some experiments:
yarn.admin.acl=yarn,dr.who,<AD LOGIN IN UPPERCASE WITHOUT REALM>