[ 
https://issues.apache.org/jira/browse/HIVE-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Dimiduk updated HIVE-8809:
-------------------------------
    Attachment: HIVE-8809.01.patch

Over on HBase, we have the property hadoop.profile and check it's value. See 
also http://java.dzone.com/articles/maven-profile-best-practices

Give this patch a spin. For hadoop1 build, add {{-Dhadoop.profile=1}}.

> 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.01.patch, 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)

Reply via email to