Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 073A310EB0 for ; Thu, 14 Nov 2013 22:11:49 +0000 (UTC) Received: (qmail 52906 invoked by uid 500); 14 Nov 2013 22:11:48 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 52873 invoked by uid 500); 14 Nov 2013 22:11:48 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 52865 invoked by uid 99); 14 Nov 2013 22:11:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 22:11:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 Nov 2013 22:11:46 +0000 Received: (qmail 50497 invoked by uid 99); 14 Nov 2013 22:11:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 22:11:23 +0000 Date: Thu, 14 Nov 2013 22:11:23 +0000 (UTC) From: "Ashish Singh (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-106) Falcon compilation fails for hadoop-2 profile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singh updated FALCON-106: -------------------------------- Attachment: falcon-106-build-2.x.v3.patch Worked on the hadoop-2 profile issue. Hope I have nailed down the issue, where -P can be used to activate the required profile. No -D for profile is required. This Patch resolves below issue: 1. Removing the activeByDefault from all the child profiles. Child profile should be used to pick the right dependency for hadoop-1 and hadoop-2. Parent pom profile has the precedence. Default profile is hadoop-1 in parent pom. 2. Fixing Hadoop dependency for falcon modules. 3. Moving the rat check plugin to -P release profile. Maven Commands used to test the above patch (Tested for hadoop-2 profile, assume it will work for hadoop-1 also.): StandAlone: mvn help:active-profiles clean -Phadoop-2 -DskipCheck=true -Dcheckstyle.skip=true dependency:tree install -DskipTests assembly:assembly Distributed: mvn -B -e help:active-profiles clean -Phadoop-2,distributed -DskipCheck=true -Dcheckstyle.skip=true dependency:tree install -DskipTests assembly:assembly Unit Test: mvn -fae clean -Phadoop-2,release verify install > Falcon compilation fails for hadoop-2 profile > --------------------------------------------- > > Key: FALCON-106 > URL: https://issues.apache.org/jira/browse/FALCON-106 > Project: Falcon > Issue Type: Bug > Components: build-tools > Reporter: Suresh Srinivas > Assignee: Shwetha G S > Attachments: falcon-106-build-2.x.v3.patch, falcon-build-2.x.patch, falcon-build-2.x.v2.patch, falcon-build-2.x.v2.patch, falcon-build-2.x.v3.patch > > > Mainly due to hadoop-core and hadoop-test artifacts not being available in hadoop 2.x. -- This message was sent by Atlassian JIRA (v6.1#6144)