You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by yugendhar fedric <yu...@gmail.com> on 2020/03/10 04:00:22 UTC
Kerberos issue in Hadoop 3.2.1 for windows using JAVA 1.8
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/namenode@HADOOP.COM
<ht...@HADOOP.COM>,
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>
Re: Kerberos issue in Hadoop 3.2.1 for windows using JAVA 1.8
Posted by yugendhar fedric <yu...@gmail.com>.
Hi,
I hereby attach the snapshot for the above issue
On Tue, Mar 10, 2020 at 9:30 AM yugendhar fedric <yu...@gmail.com> wrote:
> 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/namenode@HADOOP.COM
> <ht...@HADOOP.COM>,
> 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>
>
>