Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 06FC510A46 for ; Thu, 4 Dec 2014 19:38:13 +0000 (UTC) Received: (qmail 85376 invoked by uid 500); 4 Dec 2014 19:38:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85305 invoked by uid 500); 4 Dec 2014 19:38:12 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 85291 invoked by uid 500); 4 Dec 2014 19:38:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 85288 invoked by uid 99); 4 Dec 2014 19:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2014 19:38:12 +0000 Date: Thu, 4 Dec 2014 19:38:12 +0000 (UTC) From: "Nick Dimiduk (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8809) Activate maven profile hadoop-2 by default 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/HIVE-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14234532#comment-14234532 ] Nick Dimiduk commented on HIVE-8809: ------------------------------------ Using activeByDefault causes issues -- if you specify some other unrelated profiles (thrift generation, for instance), you end up disabling your default profile. Better to use a property flag. > Activate maven profile hadoop-2 by default > ------------------------------------------ > > Key: HIVE-8809 > URL: https://issues.apache.org/jira/browse/HIVE-8809 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.15.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Minor > Attachments: HIVE-8809.1.patch, dep_itests_with_hadoop_2.txt, dep_itests_without_hadoop_2.txt, dep_with_hadoop_2.txt, dep_without_hadoop_2.txt > > > For every maven command profile needs to be specified explicitly. It will be better to activate "hadoop-2" profile by default as HIVE QA uses hadoop-2 profile. With this change both the following commands will be equivalent > {code} > mvn clean install -DskipTests > mvn clean install -DskipTests -Phadoop-2 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)