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 16CED752C for ; Wed, 23 Nov 2011 19:38:01 +0000 (UTC) Received: (qmail 51676 invoked by uid 500); 23 Nov 2011 19:38:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 51647 invoked by uid 500); 23 Nov 2011 19:38:00 -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 51635 invoked by uid 99); 23 Nov 2011 19:38:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 19:38:00 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 19:37:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CAA529A725 for ; Wed, 23 Nov 2011 19:37:39 +0000 (UTC) Date: Wed, 23 Nov 2011 19:37:39 +0000 (UTC) From: "Hadoop QA (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1138715222.7007.1322077059831.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <138767126.6970.1322076340192.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2589) unnecessary hftp token fetch and renewal thread 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-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156217#comment-13156217 ] Hadoop QA commented on HDFS-2589: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12504914/HDFS-2589.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1607//console This message is automatically generated. > unnecessary hftp token fetch and renewal thread > ----------------------------------------------- > > Key: HDFS-2589 > URL: https://issues.apache.org/jira/browse/HDFS-2589 > Project: Hadoop HDFS > Issue Type: Bug > Components: security > Affects Versions: 0.20.205.1 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Attachments: HDFS-2589.patch > > > Instantiation of the hftp filesystem is causing a token to be implicitly created and added to a custom token renewal thread. With the new token renewal feature in the JT, this causes the mapreduce {{obtainTokensForNamenodes}} to fetch two tokens (an implicit and uncancelled token, and an explicit token) and leave a spurious renewal thread running. This thread should not be running in the JT. > After speaking with Owen, the quick solution is to lazy fetch the token, and to lazy start the renewer thread. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira