[ https://issues.apache.org/jira/browse/HDFS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757376#action_12757376 ]
dhruba borthakur commented on HDFS-623: --------------------------------------- I followed ur steps, and it works for me: {quote} svn status lib M lib/hadoop-core-test-0.21.0-dev.jar M lib/hadoop-core-0.21.0-dev.jar ant test-jar ... ... jar-hdfs-test: [jar] Building jar: /mnt/vol/devrs004.snc1/dhruba/calm/build/hadoop-hdfs-test-0.21.0-dev.jar compile-hdfs-with-mr-test: [mkdir] Created dir: /mnt/vol/devrs004.snc1/dhruba/calm/build/test/hdfs-with-mr/classes [javac] Compiling 16 source files to /mnt/vol/devrs004.snc1/dhruba/calm/build/test/hdfs-with-mr/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. jar-hdfswithmr-test: [copy] Copying 48 files to /mnt/vol/devrs004.snc1/dhruba/calm/build/test/classes [jar] Building jar: /mnt/vol/devrs004.snc1/dhruba/calm/build/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar jar-test: BUILD SUCCESSFUL Total time: 8 seconds {quote} > hdfs jar-test ant target fails with the latest commons jar's from the common > trunk > ---------------------------------------------------------------------------------- > > Key: HDFS-623 > URL: https://issues.apache.org/jira/browse/HDFS-623 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Giridharan Kesavan > > [javac] > <somelocation>/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestReplicationPolicy.java:67: > incompatible types > [javac] found : > org.apache.hadoop.hdfs.server.namenode.ReplicationTargetChooser > [javac] required: > org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy > [javac] replicator = fsNamesystem.blockManager.replicator; > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 5 errors -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.