Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 34CEEEDE3 for ; Sun, 10 Mar 2013 15:39:18 +0000 (UTC) Received: (qmail 62973 invoked by uid 500); 10 Mar 2013 15:39:18 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 62783 invoked by uid 500); 10 Mar 2013 15:39:14 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 62754 invoked by uid 99); 10 Mar 2013 15:39:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Mar 2013 15:39:13 +0000 Date: Sun, 10 Mar 2013 15:39:13 +0000 (UTC) From: "Ted Yu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-449) MRAppMaster classpath not set properly for unit tests in downstream projects 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/YARN-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598288#comment-13598288 ] Ted Yu commented on YARN-449: ----------------------------- I tried 3 methods which resulted in different mapreduce jobs to fail. 1. copy JobConf returned from MiniMRCluster.getJobConf() to HBaseTestingUtility.conf here is test result based on hadoop 1.0 (org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat failed): https://builds.apache.org/job/PreCommit-HBASE-Build/4719//testReport/ 2. extract config entries from MiniMRCluster.getJobConf() which are absent in HBaseTestingUtility.conf and put them in HBaseTestingUtility.conf mapreduce.TestRowCounter failed building against hadoop 2.0: https://builds.apache.org/job/PreCommit-HBASE-Build/4743//testReport/ 3. extract all config entries from MiniMRCluster.getJobConf() and put them in HBaseTestingUtility.conf mapreduce.TestImportExport failed building against hadoop 2.0: https://builds.apache.org/job/PreCommit-HBASE-Build/4746//testReport/ > MRAppMaster classpath not set properly for unit tests in downstream projects > ---------------------------------------------------------------------------- > > Key: YARN-449 > URL: https://issues.apache.org/jira/browse/YARN-449 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.0.3-alpha > Reporter: Siddharth Seth > Priority: Blocker > Attachments: 7904-v5.txt, hbase-7904-v3.txt, hbase-TestHFileOutputFormat-wip.txt, hbase-TestingUtility-wip.txt > > > Post YARN-429, unit tests for HBase continue to fail since the classpath for the MRAppMaster is not being set correctly. > Reverting YARN-129 may fix this, but I'm not sure that's the correct solution. My guess is, as Alexandro pointed out in YARN-129, maven classloader magic is messing up java.class.path. -- 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