You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by ght230 <gh...@163.com> on 2016/02/26 04:39:32 UTC

Problem about secure hdfs spout

Hi:

Recently I was trying secure hdfs spout about “STORM-1199: HDFS Spout Implementation“, but some error occured as following:

"Login successful for user test@EXAMPLE.COM using keytab file /home/test/test.keytab

2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
2016-02-26 10:33:14 o.a.h.i.r.RetryInvocationHandler [INFO] Exception while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB over hnn025/192.168.137.2:8020 after 1 fail over attempts. Trying to fail over immediately.
java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "HDD021/192.168.137.6"; destination host is: "hnn025":8020;"

I had tried secure hdfs bolt in the same environment, it is OK.

Anybody know why secure hdfs spout would fail?



ght230

Re: Re: Problem about secure hdfs spout

Posted by ght230 <gh...@163.com>.
Hi Roshan

    I have filed a jira.
    URL: https://issues.apache.org/jira/browse/STORM-1580.



ght230
 
From: Roshan Naik
Date: 2016-02-26 13:04
To: dev@storm.apache.org; user
Subject: Re: Problem about secure hdfs spout
Looks like some bug there .. Can you file a jira ?
 
-roshan
 
 
On 2/25/16, 7:39 PM, "ght230" <gh...@163.com> wrote:
 
>Hi:
>
>Recently I was trying secure hdfs spout about ³STORM-1199: HDFS Spout
>Implementation³, but some error occured as following:
>
>"Login successful for user test@EXAMPLE.COM using keytab file
>/home/test/test.keytab
>
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.r.RetryInvocationHandler [INFO] Exception
>while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB
>over hnn025/192.168.137.2:8020 after 1 fail over attempts. Trying to fail
>over immediately.
>java.io.IOException: Failed on local exception: java.io.IOException:
>javax.security.sasl.SaslException: GSS initiate failed [Caused by
>GSSException: No valid credentials provided (Mechanism level: Failed to
>find any Kerberos tgt)]; Host Details : local host is:
>"HDD021/192.168.137.6"; destination host is: "hnn025":8020;"
>
>I had tried secure hdfs bolt in the same environment, it is OK.
>
>Anybody know why secure hdfs spout would fail?
>
>
>
>ght230
 

Re: Problem about secure hdfs spout

Posted by Roshan Naik <ro...@hortonworks.com>.
Looks like some bug there .. Can you file a jira ?

-roshan


On 2/25/16, 7:39 PM, "ght230" <gh...@163.com> wrote:

>Hi:
>
>Recently I was trying secure hdfs spout about ³STORM-1199: HDFS Spout
>Implementation³, but some error occured as following:
>
>"Login successful for user test@EXAMPLE.COM using keytab file
>/home/test/test.keytab
>
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.r.RetryInvocationHandler [INFO] Exception
>while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB
>over hnn025/192.168.137.2:8020 after 1 fail over attempts. Trying to fail
>over immediately.
>java.io.IOException: Failed on local exception: java.io.IOException:
>javax.security.sasl.SaslException: GSS initiate failed [Caused by
>GSSException: No valid credentials provided (Mechanism level: Failed to
>find any Kerberos tgt)]; Host Details : local host is:
>"HDD021/192.168.137.6"; destination host is: "hnn025":8020;"
>
>I had tried secure hdfs bolt in the same environment, it is OK.
>
>Anybody know why secure hdfs spout would fail?
>
>
>
>ght230


Re: Problem about secure hdfs spout

Posted by Roshan Naik <ro...@hortonworks.com>.
Looks like some bug there .. Can you file a jira ?

-roshan


On 2/25/16, 7:39 PM, "ght230" <gh...@163.com> wrote:

>Hi:
>
>Recently I was trying secure hdfs spout about ³STORM-1199: HDFS Spout
>Implementation³, but some error occured as following:
>
>"Login successful for user test@EXAMPLE.COM using keytab file
>/home/test/test.keytab
>
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.Client [WARN] Exception encountered while
>connecting to the server : javax.security.sasl.SaslException: GSS
>initiate failed [Caused by GSSException: No valid credentials provided
>(Mechanism level: Failed to find any Kerberos tgt)]
>2016-02-26 10:33:14 o.a.h.i.r.RetryInvocationHandler [INFO] Exception
>while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB
>over hnn025/192.168.137.2:8020 after 1 fail over attempts. Trying to fail
>over immediately.
>java.io.IOException: Failed on local exception: java.io.IOException:
>javax.security.sasl.SaslException: GSS initiate failed [Caused by
>GSSException: No valid credentials provided (Mechanism level: Failed to
>find any Kerberos tgt)]; Host Details : local host is:
>"HDD021/192.168.137.6"; destination host is: "hnn025":8020;"
>
>I had tried secure hdfs bolt in the same environment, it is OK.
>
>Anybody know why secure hdfs spout would fail?
>
>
>
>ght230