[ https://issues.apache.org/jira/browse/HDFS-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872568#comment-13872568
]
Steve Loughran commented on HDFS-5779:
--------------------------------------
no. Follow the link for suggestions on how to go about addressing problems like that, the
key one being: not via JIRA
> Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException:
invalid null input: name
> -------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-5779
> URL: https://issues.apache.org/jira/browse/HDFS-5779
> Project: Hadoop HDFS
> Issue Type: Bug
> Environment: Linux 2.6.32-220.13.1.el6.x86_64 #1 SMP Thu Mar 29 11:46:40 EDT
2012 x86_64 x86_64 x86_64 GNU/Linux
> This machine is KEONIZED ie., KEON BoKS security is implemented for this box
> Reporter: Vijay
>
> xxxxxx@testhost:/home/xxxxxx/Lab/hdfs/namenodep$ hadoop namenode -format
> Warning: $HADOOP_HOME is deprecated.
> 14/01/15 04:51:38 INFO namenode.NameNode: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting NameNode
> STARTUP_MSG: host = testhost.testhost1.net/xx.xxx.xxx.xxx
> STARTUP_MSG: args = [-format]
> STARTUP_MSG: version = 1.0.3
> STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0
-r 1335192; compiled by 'hortonfo' on Tue May 8 20:31:25 UTC 2012
> ************************************************************/
> Re-format filesystem in /home/xxxxxx/Lab/hdfs/namenodep ? (Y or N) Y
> 14/01/15 04:51:40 INFO util.GSet: VM type = 32-bit
> 14/01/15 04:51:40 INFO util.GSet: 2% max memory = 19.33375 MB
> 14/01/15 04:51:40 INFO util.GSet: capacity = 2^22 = 4194304 entries
> 14/01/15 04:51:40 INFO util.GSet: recommended=4194304, actual=4194304
> 14/01/15 04:51:40 ERROR namenode.NameNode: java.io.IOException: failure to login
> at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:490)
> at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:452)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:475)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:464)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1162)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1271)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
> Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException:
invalid null input: name
> at com.sun.security.auth.UnixPrincipal.<init>(Unknown Source)
> at com.sun.security.auth.module.UnixLoginModule.login(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at javax.security.auth.login.LoginContext.invoke(Unknown Source)
> at javax.security.auth.login.LoginContext.access$000(Unknown Source)
> at javax.security.auth.login.LoginContext$5.run(Unknown Source)
> at javax.security.auth.login.LoginContext$5.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)
> at javax.security.auth.login.LoginContext.login(Unknown Source)
> at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:471)
> at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:452)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:475)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:464)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1162)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1271)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
> at javax.security.auth.login.LoginContext.invoke(Unknown Source)
> at javax.security.auth.login.LoginContext.access$000(Unknown Source)
> at javax.security.auth.login.LoginContext$5.run(Unknown Source)
> at javax.security.auth.login.LoginContext$5.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)
> at javax.security.auth.login.LoginContext.login(Unknown Source)
> at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:471)
> ... 6 more
> 14/01/15 04:51:40 INFO namenode.NameNode: SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at testhost.testhost1.net/10.129.254.129
> ************************************************************/
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
|