[ https://issues.apache.org/jira/browse/HIVE-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192315#comment-13192315 ]
Thomas Weise commented on HIVE-2740: ------------------------------------ This should be enough: {{ant clean package -Dshims.include=0.23 -Dhadoop.version=0.23.0}} Since you are only compiling the .23 shim other Hadoop versions won't be fetched and you need to specify hadoop.version to compile the common code. > ant clean package -Dshims.include=0.23 results in compilation errors > -------------------------------------------------------------------- > > Key: HIVE-2740 > URL: https://issues.apache.org/jira/browse/HIVE-2740 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Affects Versions: 0.8.1 > Reporter: Amareshwari Sriramadasu > > ant clean package -Dshims.include=0.23 results in compilation errors for > component common. > For ex: > {noformat} > [echo] Project: common > [javac] Compiling 15 source files to > /home/amarsri/workspace/hive/build/common/classes > [javac] > /home/amarsri/workspace/hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:26: > package org.apache.hadoop.conf does not exist > [javac] import org.apache.hadoop.conf.Configuration; > [javac] ^ > {noformat} > Thomas, Can you look into it? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira