[ https://issues.apache.org/jira/browse/HDFS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200040#comment-13200040 ]
Ravi Prakash commented on HDFS-2888: ------------------------------------ The exact same patch also applies to trunk > HDFS-2864 broke ant compilation > ------------------------------- > > Key: HDFS-2888 > URL: https://issues.apache.org/jira/browse/HDFS-2888 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 0.23.0, 0.24.0 > Reporter: Ravi Prakash > Assignee: Ravi Prakash > Attachments: HDFS-2888.patch > > > compile: > [echo] contrib: raid > [javac] > <somePath>/hadoop-mapreduce-project/src/contrib/build-contrib.xml:194: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [javac] Compiling 28 source files to > <somepath>/hadoop-mapreduce-project/build/contrib/raid/classes > [javac] > <somepath>/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/hdfs/server/datanode/RaidBlockSender.java:111: > cannot find symbol > [javac] symbol : variable METADATA_VERSION > [javac] location: class org.apache.hadoop.hdfs.server.datanode.FSDataset > [javac] if (version != FSDataset.METADATA_VERSION) { > [javac] ^ > [javac] > <somepath>/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java:649: > cannot find symbol > [javac] symbol : variable METADATA_VERSION > [javac] location: class org.apache.hadoop.hdfs.server.datanode.FSDataset > [javac] mdOut.writeShort(FSDataset.METADATA_VERSION); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 2 errors > BUILD FAILED -- 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