[ 
https://issues.apache.org/jira/browse/HDFS-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-3972:
------------------------------

    Description: 
In a secure HA cluster, we're seeing the following issue on the NN when the 
trash emptier tries to run:

WARN org.apache.hadoop.fs.TrashPolicyDefault: Trash can't list homes: 
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: "xxxxx"; destination host is: "xxxx":8020;  Sleeping.

The issue seems to be that the trash emptier thread sends RPCs back to itself, 
but isn't wrapped in a doAs. Credit goes to Stephen Chu for discovering this.

  was:
In a secure cluster, we're seeing the following issue on the NN when the trash 
emptier tries to run:

WARN org.apache.hadoop.fs.TrashPolicyDefault: Trash can't list homes: 
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: "xxxxx"; destination host is: "xxxx":8020;  Sleeping.

The issue seems to be that the trash emptier thread sends RPCs back to itself, 
but isn't wrapped in a doAs. Credit goes to Stephen Chu for discovering this.

        Summary: Trash emptier fails in secure HA cluster  (was: Trash emptier 
fails in secure cluster)

edit: updated Summary and Description to indicate this only happens when HA is 
enabled on the secure cluster
                
> Trash emptier fails in secure HA cluster
> ----------------------------------------
>
>                 Key: HDFS-3972
>                 URL: https://issues.apache.org/jira/browse/HDFS-3972
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 3.0.0, 2.0.1-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>
> In a secure HA cluster, we're seeing the following issue on the NN when the 
> trash emptier tries to run:
> WARN org.apache.hadoop.fs.TrashPolicyDefault: Trash can't list homes: 
> 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: "xxxxx"; destination host is: "xxxx":8020;  Sleeping.
> The issue seems to be that the trash emptier thread sends RPCs back to 
> itself, but isn't wrapped in a doAs. Credit goes to Stephen Chu for 
> discovering this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to