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 6072D11204 for ; Sat, 13 Sep 2014 01:42:35 +0000 (UTC) Received: (qmail 19646 invoked by uid 500); 13 Sep 2014 01:42:34 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 19546 invoked by uid 500); 13 Sep 2014 01:42:34 -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 19297 invoked by uid 99); 13 Sep 2014 01:42:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Sep 2014 01:42:34 +0000 Date: Sat, 13 Sep 2014 01:42:34 +0000 (UTC) From: "Hadoop QA (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6088) TestTokenCache in mrv1 (branch-1) depend on the order of test execution. testLocalJobTokenCache will fail if it execute after testTokenCache. 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-6088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132452#comment-14132452 ] Hadoop QA commented on MAPREDUCE-6088: -------------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12668534/MAPREDUCE-6088.branch-1.0.patch against trunk revision 3c91817. {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4873//console This message is automatically generated. > TestTokenCache in mrv1 (branch-1) depend on the order of test execution. testLocalJobTokenCache will fail if it execute after testTokenCache. > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-6088 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6088 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: mrv1, test > Reporter: zhihai xu > Assignee: zhihai xu > Attachments: MAPREDUCE-6088.branch-1.0.patch > > > TestTokenCache in mrv1 (branch-1) depend on the order of test execution. testLocalJobTokenCache will fail if it executed after testTokenCache. > The reason is because testLocalJobTokenCache depends on the jConf setup by testTokenCache. > The fix is to set up the JobConf separately for testLocalJobTokenCache and testTokenCache. > See the following test result. > Testcase: testLocalJobTokenCache took 1.197 sec > FAILED > local Job failed > junit.framework.AssertionFailedError: local Job failed > at org.apache.hadoop.mapreduce.security.TestTokenCache.testLocalJobTokenCache(TestTokenCache.java:258) > Testcase: testGetTokensForNamenodes took 0.003 sec > Testcase: testGetTokensForUriWithoutAuth took 0.01 sec > Testcase: testCleanUpTokenReferral took 0.014 sec > Testcase: testTokenCache took 13.316 sec -- This message was sent by Atlassian JIRA (v6.3.4#6332)