[ https://issues.apache.org/jira/browse/HIVE-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth J updated HIVE-8809: ----------------------------- Attachment: dep_itests_without_hadoop_2.txt dep_itests_with_hadoop_2.txt dep_without_hadoop_2.txt dep_with_hadoop_2.txt Attaching the output of mvn dependency:tree with and without specify -Phadoop-2 explicitly. The dependency tree looks exactly the same. One thing I am not sure is why hive shims common dependency tree is showing hadoop-core. Following dependency is not within a profile in hive/shims/commom/pom.xml {code} <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-core</artifactId> <version>${hadoop-20.version}</version> <optional>true</optional> </dependency> {code} [~brocknoland] Any idea why? Also how to check if the issue mentioned in HIVE-5755 does not happen? Atleast from dependency tree it doesn't seem to happen. > 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 J > Assignee: Prasanth J > 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)