Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C425F10A6D for ; Tue, 17 Sep 2013 02:57:27 +0000 (UTC) Received: (qmail 16815 invoked by uid 500); 17 Sep 2013 02:57:00 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 16594 invoked by uid 500); 17 Sep 2013 02:56:55 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 16551 invoked by uid 99); 17 Sep 2013 02:56:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 02:56:53 +0000 Date: Tue, 17 Sep 2013 02:56:53 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth resolved HADOOP-9935. ----------------------------------- Resolution: Fixed Andr=C3=A9, sorry I didn't catch the problem at code review time. I freque= ntly use the {{CreateEditsLog}} tool, so I should have thought to test that= . bq. Why isn't the tests jar a "hadoop compliant jar", that includes junit, = like any other hadoop app? Is there a reason, to treat it special? The current situation isn't ideal, but it appears that we need to keep it t= his way for backwards-compatibility right now. Thanks to Jason for pointin= g out HADOOP-8738 and HADOOP-9116, which will address the root cause. Andr= =C3=A9, perhaps you'd like to participate on those other 2 issues. I'm resolving this as a duplicate of HADOOP-8738. =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