namenode.NameNode: java.io.IOException: failure to login

Apache's JIRA Issue Tracker | Vijay | 3 years ago
  1. 0

    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 ************************************************************/

    Apache's JIRA Issue Tracker | 3 years ago | Vijay
    namenode.NameNode: java.io.IOException: failure to login
  2. 0

    Progress KB - "No CallbackHandler available to garner authentication information from the user" error with JDBC drivers

    progress.com | 8 months ago
    javax.security.auth.login.LoginException: No CallbackHandler available to garner authentication information from the user
  3. 0

    Sql Server 2008R2 JavaKerberos does not recognize Krb5LoginModule tickets

    Stack Overflow | 1 year ago | Arfs
    com.microsoft.sqlserver.jdbc.SQLServerException: Integrated authentication failed. ClientConnectionId:00abf877-8518-4d2c-a4e7-6b1b4ce65197
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jetty @ Eclipse user discussion list ()

    gmane.org | 1 year ago
    javax.security.auth.login.LoginException: Login Failure: all modules ignored
  6. 0

    Problem with OIM 11g to connect to SOA

    Oracle Community | 6 years ago | oim11guser
    javax.security.auth.login.LoginException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule [java]

    15 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.security.auth.login.LoginException

      java.lang.NullPointerException: invalid null input: name

      at com.sun.security.auth.UnixPrincipal.<init>()
    2. Java RT
      LoginContext.login
      1. com.sun.security.auth.UnixPrincipal.<init>(Unknown Source)
      2. com.sun.security.auth.module.UnixLoginModule.login(Unknown Source)
      3. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      4. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      5. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      6. java.lang.reflect.Method.invoke(Unknown Source)
      7. javax.security.auth.login.LoginContext.invoke(Unknown Source)
      8. javax.security.auth.login.LoginContext.access$000(Unknown Source)
      9. javax.security.auth.login.LoginContext$5.run(Unknown Source)
      10. javax.security.auth.login.LoginContext$5.run(Unknown Source)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)
      13. javax.security.auth.login.LoginContext.login(Unknown Source)
      13 frames
    3. Hadoop
      UserGroupInformation.getCurrentUser
      1. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:471)
      2. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:452)
      2 frames
    4. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:475)
      2. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:464)
      3. org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1162)
      4. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1271)
      5. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
      5 frames
    5. Java RT
      LoginContext.login
      1. javax.security.auth.login.LoginContext.invoke(Unknown Source)
      2. javax.security.auth.login.LoginContext.access$000(Unknown Source)
      3. javax.security.auth.login.LoginContext$5.run(Unknown Source)
      4. javax.security.auth.login.LoginContext$5.run(Unknown Source)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)
      7. javax.security.auth.login.LoginContext.login(Unknown Source)
      7 frames
    6. Hadoop
      UserGroupInformation.getCurrentUser
      1. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:471)
      2. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:452)
      2 frames
    7. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:475)
      2. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:464)
      3. org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1162)
      4. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1271)
      5. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
      5 frames