Created 02-03-2016 05:27 PM
I am trying to view Namenode Logs in Ambari - I am login as admin but its giving dr.who (which I guess is permission issues)
Created 02-03-2016 06:37 PM
If accessing the NameNode web UI indicates that you are "dr.who", then this likely indicates that the cluster is not performing authentication on HTTP endpoints. The logs URL requires administrator access, so it is inaccessible unless authenticated as an administrator.
Enabling HTTP authentication is a separate step from enabling Kerberos security, so it's possible that the cluster has done one but not the other. For full details on how to enable HTTP authentication, please refer to the Apache Hadoop documentation for HTTP Authentication.
Created 02-03-2016 05:33 PM
please add the following string to the end of your URL
?user.name=root
or
?user.name=admin
please see this
Created 02-03-2016 05:52 PM
@Artem Ervits The cluster is kerberized. I tried that but it didn't worked
Created 02-03-2016 05:53 PM
Created 02-03-2016 05:53 PM
Also have used this
hadoop.http.staticuser.user=hdfs. Still not working
Created 02-03-2016 06:37 PM
If accessing the NameNode web UI indicates that you are "dr.who", then this likely indicates that the cluster is not performing authentication on HTTP endpoints. The logs URL requires administrator access, so it is inaccessible unless authenticated as an administrator.
Enabling HTTP authentication is a separate step from enabling Kerberos security, so it's possible that the cluster has done one but not the other. For full details on how to enable HTTP authentication, please refer to the Apache Hadoop documentation for HTTP Authentication.