You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2014/12/04 20:38:12 UTC

[jira] [Commented] (HIVE-8809) Activate maven profile hadoop-2 by default

    [ 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)