Bibin A Chundatt created HADOOP-11888:
-----------------------------------------

             Summary: bootstrapStandby command broken in JDK1.8 with kerberos
                 Key: HADOOP-11888
                 URL: https://issues.apache.org/jira/browse/HADOOP-11888
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
         Environment: Suse 11 Sp3 
java = 1.8.0_40
            Reporter: Bibin A Chundatt
            Assignee: surendra singh lilhore


bootstrapStandby is failing incase of JDK1.8 with kerberos

./hdfs namenode -bootstrapStandby

{code}
Caused by: 
org.apache.hadoop.security.authentication.client.AuthenticationException: 
org.apache.hadoop.security.authentication.client.AuthenticationException: 
Invalid SPNEGO sequence, status code: 403
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.doSpnegoSequence(KerberosAuthenticator.java:335)
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:206)
        at 
org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215)
        at 
org.apache.hadoop.hdfs.web.URLConnectionFactory.openConnection(URLConnectionFactory.java:162)
        at 
org.apache.hadoop.hdfs.server.namenode.TransferFsImage.doGetUrl(TransferFsImage.java:403)
        ... 16 more
Caused by: 
org.apache.hadoop.security.authentication.client.AuthenticationException: 
Invalid SPNEGO sequence, status code: 403
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.readToken(KerberosAuthenticator.java:370)
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.access$300(KerberosAuthenticator.java:55)
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:320)
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:288)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.doSpnegoSequence(KerberosAuthenticator.java:288)
        ... 20 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to