compile-core-test build fails (bad class file error: ExternalMapReduce.class) -----------------------------------------------------------------------------
Key: HADOOP-4926 URL: https://issues.apache.org/jira/browse/HADOOP-4926 Project: Hadoop Core Issue Type: Bug Components: build, test Affects Versions: 0.21.0 Environment: Eclipse 3.2.2, Java 6, Linux Kernel 2.6.24 Reporter: KP Priority: Minor I am trying to get my development environment up and running. Following instructions on Hadoop Wiki + any relevant JIRA Bug Fixes. I downloaded the latest trunk (ID 728242) via subversion client in to my eclipse environment. Based on instructions posted, I set my ANT_HOME environment variable, ran the Ant build task for eclipse-files target succesfully. After refreshing the project, I attempted a "build project", which generated the error below. Trunk Build fails within "compile-core-test" section: ======================================== CONSOLE OUTPUT: ======================================== compile-core-test: [javac] Compiling 7 source files to /home/hadoop/workspace/Hadoop/build/test/classes [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Compiling 124 source files to /home/hadoop/workspace/Hadoop/build/test/classes [javac] /home/hadoop/workspace/Hadoop/src/test/org/apache/hadoop/mapred/TestCommandLineJobSubmission.java:76: cannot access testshell.ExternalMapReduce [javac] bad class file: /home/hadoop/workspace/Hadoop/src/test/testshell/ExternalMapReduce.class [javac] class file contains wrong class: src.test.testshell.ExternalMapReduce [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] new testshell.ExternalMapReduce(), args); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error BUILD FAILED /home/hadoop/workspace/Hadoop/build.xml:635: Compile failed; see the compiler error output for details. ======================================== Disclaimer: I am new to the Apache software foundation in general and the Hadoop project specifically. If I have submitted this ticket improperly, please annotate this ticket so I know to correct bad practice. ======================================== -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.