Hi ,
Forming Hadoop cluster in Secure mode(kerberos) with Java 1.8.0_211
.The Following issue occurs while running BootstrapStandBy Command for
image transfer to standby namenode.
Also same issue occurred while accessing the WebHDFS of Active
namenode. Kindly check with the below logs on standby namenode for
bootstrap. Attached screenshot of webhdfs issue also.
Caused by:
org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, URL:
https://server1.HADOOP.COM:50470/imagetransfer?getimage=1&txid=0&storageInfo=-65:1543900257:1583804977057:CID-6987c586-ea12-4344-95e6-8453149ea06f&bootstrapstandby=true&user.name=nn_scluster/[email protected]
<https://synclapn3.hadoop.com:50470/imagetransfer?getimage=1&txid=0&storageInfo=-65:1543900257:1583804977057:CID-6987c586-ea12-4344-95e6-8453149ea06f&bootstrapstandby=true&user.name=nn_synccluster/[email protected]>,
status: 403, message: GSSException: No valid credentials provided
(Mechanism level: Failed to find any Kerberos credentails)
at
org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:401)
at
org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:74)
at
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:214)
... 21 more
2020-03-09 18:52:00,750 INFO util.ExitUtil: Exiting with status 1:
java.io.IOException: java.lang.RuntimeException: java.io.IOException:
org.apache.hadoop.security.authentication.client.AuthenticationException:
Error while authenticating with endpoint:
https://server1.HADOOP.COM:50470/imagetransfer?getimage=1&txid=0&storageInfo=-65:1543900257:1583804977057:CID-6987c586-ea12-4344-95e6-8453149ea06f&bootstrapstandby=true
<https://synclapn3.hadoop.com:50470/imagetransfer?getimage=1&txid=0&storageInfo=-65:1543900257:1583804977057:CID-6987c586-ea12-4344-95e6-8453149ea06f&bootstrapstandby=true>