[ https://issues.apache.org/jira/browse/HIVE-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506596#comment-13506596 ]
Ashutosh Chauhan commented on HIVE-3754: ---------------------------------------- You can use either of {code} ant clean package -Dhadoop.version=0.23.3 -Dhadoop-0.23.version=0.23.3 -Dhadoop.mr.rev=23 ant clean package -Dhadoop.version=2.0.0-alpha -Dhadoop-0.23.version=2.0.0-alpha -Dhadoop.mr.rev=23 {code} > Trunk hadoop 23 build fails > --------------------------- > > Key: HIVE-3754 > URL: https://issues.apache.org/jira/browse/HIVE-3754 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Reporter: Gang Tim Liu > > check out the latest code from trunk > {code} > svn info > {code} > {quote} > Path: . > URL: http://svn.apache.org/repos/asf/hive/trunk > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1415005 > Node Kind: directory > Schedule: normal > Last Changed Author: namit > Last Changed Rev: 1414608 > Last Changed Date: 2012-11-28 01:36:27 -0800 (Wed, 28 Nov 2012) > {quote} > {code} > ant clean package -Dhadoop.version=0.23.1 -Dhadoop-0.23.version=0.23.1 > -Dhadoop.mr.rev=23 > {code} > {quote} > ivy-retrieve-hadoop-shim: > [echo] Project: shims > [javac] Compiling 2 source files to > /Users/gang/hive-trunk-11-28/build/shims/classes > [javac] > /Users/gang/hive-trunk-11-28/shims/src/0.23/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:122: > getDefaultBlockSize() in org.apache.hadoop.fs.FileSystem cannot be applied > to (org.apache.hadoop.fs.Path) > [javac] return fs.getDefaultBlockSize(path); > [javac] ^ > [javac] > /Users/gang/hive-trunk-11-28/shims/src/0.23/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:127: > getDefaultReplication() in org.apache.hadoop.fs.FileSystem cannot be applied > to (org.apache.hadoop.fs.Path) > [javac] return fs.getDefaultReplication(path); > [javac] ^ > [javac] 2 errors > BUILD FAILED > /Users/gang/hive-trunk-11-28/build.xml:302: The following error occurred > while executing this line: > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira