Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A09BD948 for ; Thu, 27 Sep 2012 14:00:19 +0000 (UTC) Received: (qmail 5694 invoked by uid 500); 27 Sep 2012 14:00:19 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 5418 invoked by uid 500); 27 Sep 2012 14:00:18 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 5250 invoked by uid 99); 27 Sep 2012 14:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 14:00:18 +0000 Date: Fri, 28 Sep 2012 01:00:18 +1100 (NCT) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1236168436.133788.1348754418323.JavaMail.jiratomcat@arcas> In-Reply-To: <420661808.124525.1348601409629.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HDFS-3972) Trash emptier fails in secure HA cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464747#comment-13464747 ] Hudson commented on HDFS-3972: ------------------------------ Integrated in Hadoop-Mapreduce-trunk #1209 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1209/]) HDFS-3972. Trash emptier fails in secure HA cluster. Contributed by Todd Lipcon (Revision 1390729) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390729 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java > 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 > Fix For: 2.0.2-alpha > > Attachments: hdfs-3972.txt > > > 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