Issue Details (XML | Word | Printable)

Key: HDFS-623
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Giridharan Kesavan
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Hadoop HDFS

hdfs jar-test ant target fails with the latest commons jar's from the common trunk

Created: 16/Sep/09 04:44 AM   Updated: 18/Sep/09 07:37 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Blocker
 


 Description  « Hide
[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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Konstantin Boudnik added a comment - 16/Sep/09 02:13 PM
Is there any information on the sources of the problem? Was it a fix of some other issue or what?

Giridharan Kesavan added a comment - 16/Sep/09 07:14 PM
when we copy the latest common jar file from trunk build and use it with hdfs ant jar-test target fails.

I doubt these two issues which would have caused this.
HDFS-617.
HADOOP-6246


dhruba borthakur added a comment - 17/Sep/09 11:48 PM
This could be related to HDFS-385. Can you pl provide more details on how I can reproduce this compilation problem?

Giridharan Kesavan added a comment - 18/Sep/09 06:45 AM
To reproduce:
copy the latest trunk builds common jar's to hdfs-trunk lib folder and execute ant jar-test

dhruba borthakur added a comment - 18/Sep/09 07:37 PM
I followed ur steps, and it works for me:

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