From mapreduce-issues-return-53761-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Nov 1 20:07:13 2012 Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 0C7E7DEC3 for ; Thu, 1 Nov 2012 20:07:13 +0000 (UTC) Received: (qmail 45934 invoked by uid 500); 1 Nov 2012 20:07:12 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 45876 invoked by uid 500); 1 Nov 2012 20:07:12 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 45867 invoked by uid 99); 1 Nov 2012 20:07:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 20:07:12 +0000 Date: Thu, 1 Nov 2012 20:07:12 +0000 (UTC) From: "Hadoop QA (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <321495731.57607.1351800432754.JavaMail.jiratomcat@arcas> In-Reply-To: <488854185.57545.1351799112702.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (MAPREDUCE-4765) Restarting the JobTracker programmatically can cause DelegationTokenRenewal to throw an exception 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/MAPREDUCE-4765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488986#comment-13488986 ] Hadoop QA commented on MAPREDUCE-4765: -------------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12551752/MAPREDUCE-4765_branch-1.patch against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2979//console This message is automatically generated. > Restarting the JobTracker programmatically can cause DelegationTokenRenewal to throw an exception > ------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-4765 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4765 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker, mrv1 > Affects Versions: 1.1.0 > Reporter: Robert Kanter > Assignee: Robert Kanter > Priority: Minor > Fix For: 1.2.0 > > Attachments: MAPREDUCE-4765_branch-1.patch > > > The DelegationTokenRenewal class has a global Timer; when you stop the JobTracker by calling {{stopTracker()}} on it (or {{stopJobTracker()}} in MiniMRCluster), the JobTracker will call {{close()}} on DelegationTokenRenewal, which cancels the Timer. If you then start up the JobTracker again by calling {{startTracker()}} on it (or {{startJobTracker()}} in MiniMRCluster), the Timer won't necessarily be re-created; and DelegationTokenRenewal will later throw an exception when it tries to use the Timer again (because you can't reuse a canceled Timer). > DelegationTokenRenewal doesn't seem to be used in trunk, so we only need this for branch-1 -- 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