hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh Radhakrishnan <rakeshr...@gmail.com>
Subject Re: Failed to start namenode.
Date Thu, 09 Jun 2016 17:11:28 GMT

Could you please check kerberos principal name is specified correctly in
"hdfs-site.xml", which is used to authenticate against Kerberos. If using
_HOST variable in hdfs-site.xml, ensure that hostname is getting resolved
and it matches with the principal name.

If keytab file defined in "hdfs-site.xml" is not present you will see this
error. So, please verify the path and the keytab filename correctly

Also, did you verify manual kinit using the principal name and keytab. Is
that working for you?

Please share "hdfs-site.xml" config file to know more about your


On Thu, Jun 9, 2016 at 6:21 PM, Hafiz Mujadid <hafizmujadid00@gmail.com>

> Hi,
> I have setup kerbores with hadoop and I am facing following exception when
> i start hadoop.
> ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start
> namenode.
> java.io.IOException: Login failure for admin/admin@queryiorealm from
> keytab /usr/local/var/krb5kdc/kadm5.keytab:
> javax.security.auth.login.LoginException: Unable to obtain password from
> user
>         at
> org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:962)
>         at
> org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:246)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.loginAsNameNodeUser(NameNode.java:613)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:632)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:811)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:795)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1488)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1554)
> Caused by: javax.security.auth.login.LoginException: Unable to obtain
> password from user
> Can anybody please help me how to get rid of this issue?
> Thanks

View raw message