Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 DD1291011E for ; Mon, 16 Sep 2013 22:14:04 +0000 (UTC) Received: (qmail 26835 invoked by uid 500); 16 Sep 2013 22:14:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 25831 invoked by uid 500); 16 Sep 2013 22:14:01 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 25743 invoked by uid 99); 16 Sep 2013 22:13:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 22:13:58 +0000 Date: Mon, 16 Sep 2013 22:13:58 +0000 (UTC) From: "Jason Lowe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9935) set junit dependency to test scope MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9935?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D137= 68852#comment-13768852 ]=20 Jason Lowe commented on HADOOP-9935: ------------------------------------ I believe this broke the ability to run the test jars that are distributed = in the tarball, e.g.: TestDFSIO, sleep jobs, etc. See YARN-1205. Actually this appears to be a duplicate of HADOOP-8738 which was reopened w= hen it was committed due to the same issues. I think the real fix is to ha= ve junit and other test-only dependencies placed into directories that are = not in the standard classpath but can easily be picked up via another comma= nd for running the tests. See HADOOP-9116. =20 > set junit dependency to test scope > ---------------------------------- > > Key: HADOOP-9935 > URL: https://issues.apache.org/jira/browse/HADOOP-9935 > Project: Hadoop Common > Issue Type: Bug > Components: build, test > Affects Versions: 2.1.0-beta > Reporter: Andr=C3=A9 Kelpe > Assignee: Andr=C3=A9 Kelpe > Fix For: 3.0.0, 2.1.1-beta > > Attachments: HADOOP-9935.patch, HADOOP-9935.patch > > > junit should be set to scope test in hadoop-mapreduce-project and hadoop-= yarn-project. This patch will fix the problem, that hadoop always pulls in = its own version of junit and that junit is even included in the tarballs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira