Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.1
    • Component/s: test
    • Labels:
      None
    • Environment:

      RHEL4 Linux, Java 1.6.0_15-b03

    • Hadoop Flags:
      Reviewed

      Description

      ...apparently. Fresh checkout of trunk (all three hadoop-*), build.properties project.version fix, ant veryclean mvn-install of common, hdfs, and then mapreduce:

      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:52: cannot access org.apache.hadoop.test.system.DaemonProtocol
      [javac] class file for org.apache.hadoop.test.system.DaemonProtocol not found
      [javac] static class FakeJobTracker extends JobTracker {
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:60: non-static variable this cannot be referenced from a static context
      [javac] this.trackers = tts;
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:60: cannot find symbol
      [javac] symbol : variable trackers
      [javac] location: class org.apache.hadoop.mapred.FakeObjectUtilities
      [javac] this.trackers = tts;
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:67: cannot find symbol
      [javac] symbol : method taskTrackers()
      [javac] location: class org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker
      [javac] taskTrackers().size() - getBlacklistedTrackerCount(),
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:67: cannot find symbol
      [javac] symbol : method getBlacklistedTrackerCount()
      [javac] location: class org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker
      [javac] taskTrackers().size() - getBlacklistedTrackerCount(),
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:68: cannot find symbol
      [javac] symbol : method getBlacklistedTrackerCount()
      [javac] location: class org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker
      [javac] getBlacklistedTrackerCount(), 0, 0, 0, totalSlots/2, totalSlots/2,
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:64: method does not override or implement a method from a supertype
      [javac] @Override
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:73: non-static variable this cannot be referenced from a static context
      [javac] this.totalSlots = totalSlots;
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/FakeObjectUtilities.java:73: cannot find symbol
      [javac] symbol : variable totalSlots
      [javac] location: class org.apache.hadoop.mapred.FakeObjectUtilities
      [javac] this.totalSlots = totalSlots;
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java:91: establishFirstContact(org.apache.hadoop.mapred.JobTracker,java.lang.String) in org.apache.hadoop.mapred.FakeObjectUtilities cannot be applied to (org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker,java.lang.String)
      [javac] FakeObjectUtilities.establishFirstContact(jobTracker, s);
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java:170: cannot find symbol
      [javac] symbol : constructor MyFakeJobInProgress(org.apache.hadoop.mapred.JobConf,org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker)
      [javac] location: class org.apache.hadoop.mapred.TestJobInProgress.MyFakeJobInProgress
      [javac] MyFakeJobInProgress job1 = new MyFakeJobInProgress(conf, jobTracker);
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java:185: cannot find symbol
      [javac] symbol : constructor MyFakeJobInProgress(org.apache.hadoop.mapred.JobConf,org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker)
      [javac] location: class org.apache.hadoop.mapred.TestJobInProgress.MyFakeJobInProgress
      [javac] MyFakeJobInProgress job2 = new MyFakeJobInProgress(conf, jobTracker);
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java:225: cannot find symbol
      [javac] symbol : constructor MyFakeJobInProgress(org.apache.hadoop.mapred.JobConf,org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker)
      [javac] location: class org.apache.hadoop.mapred.TestJobInProgress.MyFakeJobInProgress
      [javac] MyFakeJobInProgress jip = new MyFakeJobInProgress(conf, jobTracker);
      [javac] ^
      [javac] /home/roelofs/grid/trunk2/hadoop-mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java:296: cannot find symbol
      [javac] symbol : constructor MyFakeJobInProgress(org.apache.hadoop.mapred.JobConf,org.apache.hadoop.mapred.FakeObjectUtilities.FakeJobTracker)
      [javac] location: class org.apache.hadoop.mapred.TestJobInProgress.MyFakeJobInProgress
      [javac] MyFakeJobInProgress jspy = spy(new MyFakeJobInProgress(conf, jobTracker));
      [javac] ^

      1. MAPREDUCE-1897.patch
        4 kB
        Konstantin Boudnik
      2. MAPREDUCE-1897.patch
        3 kB
        Konstantin Boudnik
      3. MAPREDUCE-1897.patch
        2 kB
        Konstantin Boudnik
      4. MAPREDUCE-1897.patch
        2 kB
        Konstantin Boudnik

        Activity

        Hide
        Greg Roelofs added a comment -

        Still no joy after multiple rounds of clean(ish) builds (e.g., removal of all of .ivy2; removal of build and build-fi in all three subdirs; removal of .ivy2/cache/org.apache.hadoop). However, "ant binary" works, so I'm going to ignore "ant mvn-install" for now.

        Show
        Greg Roelofs added a comment - Still no joy after multiple rounds of clean(ish) builds (e.g., removal of all of .ivy2; removal of build and build-fi in all three subdirs; removal of .ivy2/cache/ org.apache.hadoop ). However, "ant binary" works, so I'm going to ignore "ant mvn-install" for now.
        Hide
        Greg Roelofs added a comment -

        ArunM suggested this might be your baby.

        No clue what's up; even "ant veryclean mvn-install" without build.properties (which worked for me ~ a week ago), I still see this. ChrisD, on the other hand, also builds without build.properties and doesn't see the failure.

        Show
        Greg Roelofs added a comment - ArunM suggested this might be your baby. No clue what's up; even "ant veryclean mvn-install" without build.properties (which worked for me ~ a week ago), I still see this. ChrisD, on the other hand, also builds without build.properties and doesn't see the failure.
        Hide
        Konstantin Boudnik added a comment -

        I was on vacation and have just came back. Considering by this org.apache.hadoop.test.system.DaemonProtocol it might be mine, but I haven't seen this apparently. Otherwise I won't be committing the patch

        I'll be looking into this issue first thing in the morning.

        Show
        Konstantin Boudnik added a comment - I was on vacation and have just came back. Considering by this org.apache.hadoop.test.system.DaemonProtocol it might be mine, but I haven't seen this apparently. Otherwise I won't be committing the patch I'll be looking into this issue first thing in the morning.
        Hide
        Konstantin Boudnik added a comment -

        I have tried to run ant veryclean mvn-install after removing ~/.ivy2 on RHEL5 system and saw successful build with all artifacts installed into my local maven repository. Have repeated the same on BSD and Ubuntu 10.4 with similar results. Going to get an access to RHEL4 and will try reproduce your issue again.

        Show
        Konstantin Boudnik added a comment - I have tried to run ant veryclean mvn-install after removing ~/.ivy2 on RHEL5 system and saw successful build with all artifacts installed into my local maven repository. Have repeated the same on BSD and Ubuntu 10.4 with similar results. Going to get an access to RHEL4 and will try reproduce your issue again.
        Hide
        Konstantin Boudnik added a comment -

        Ran the same on RHEL4.5 with success. Could you please contact me offline and provide with information about your build environment so I'd have a chance to use it to reproduce the problem?

        Show
        Konstantin Boudnik added a comment - Ran the same on RHEL4.5 with success. Could you please contact me offline and provide with information about your build environment so I'd have a chance to use it to reproduce the problem?
        Hide
        Konstantin Boudnik added a comment -

        I haven't seen any issues similar to the reported since last month neither I heard from anyone about this. I'm going to close it as 'Not reproducible' unless I hear otherwise.

        Show
        Konstantin Boudnik added a comment - I haven't seen any issues similar to the reported since last month neither I heard from anyone about this. I'm going to close it as 'Not reproducible' unless I hear otherwise.
        Hide
        Greg Roelofs added a comment -

        I've been working on the internal Yahoo branch for the last couple of weeks, but I'll be switching back to trunk next week and will retry things then. I don't have any further info at the moment.

        What I think would be stupendously useful is if there were a way to make ant mvn-install log everything it's doing--not just "I'm about to compile foo" but literally "I'm cd'ing into this directory", "this is the exact command I'm running", "here's the complete output from that command", etc. (i.e., what real makefiles do). Then we could compare your verbose output with mine and maybe figure out which dependency is broken.

        (There are definitely broken dependencies, at least in the Y20 branch; editing a mapreduce .java file, for example, causes it to be recompiled but not all of its downstream artifacts to be rebuilt, which can result in unit tests continuing to use the previous code. I don't understand this build system well enough to figure out where the breakdown is. Current workaround is to blow away the entire build directory each time. On trunk I've usually been able to avoid this problem by manually copying jars from build to ~/.ivy2/cache/..., but that's annoying, too.)

        Show
        Greg Roelofs added a comment - I've been working on the internal Yahoo branch for the last couple of weeks, but I'll be switching back to trunk next week and will retry things then. I don't have any further info at the moment. What I think would be stupendously useful is if there were a way to make ant mvn-install log everything it's doing--not just "I'm about to compile foo" but literally "I'm cd'ing into this directory", "this is the exact command I'm running", "here's the complete output from that command", etc. (i.e., what real makefiles do). Then we could compare your verbose output with mine and maybe figure out which dependency is broken. (There are definitely broken dependencies, at least in the Y20 branch; editing a mapreduce .java file, for example, causes it to be recompiled but not all of its downstream artifacts to be rebuilt, which can result in unit tests continuing to use the previous code. I don't understand this build system well enough to figure out where the breakdown is. Current workaround is to blow away the entire build directory each time. On trunk I've usually been able to avoid this problem by manually copying jars from build to ~/.ivy2/cache/..., but that's annoying, too.)
        Hide
        Konstantin Boudnik added a comment -

        What I think would be stupendously useful is if there were a way to make ant mvn-install log everything it's doing--not just "I'm about to...

        Perhaps ant -v mvn-install will help?

        Show
        Konstantin Boudnik added a comment - What I think would be stupendously useful is if there were a way to make ant mvn-install log everything it's doing--not just "I'm about to... Perhaps ant -v mvn-install will help?
        Hide
        Greg Roelofs added a comment -

        Perhaps ant -v mvn-install will help?

        It might. I'll be sure to try that next time around. Thanks.

        Show
        Greg Roelofs added a comment - Perhaps ant -v mvn-install will help? It might. I'll be sure to try that next time around. Thanks.
        Hide
        Konstantin Boudnik added a comment -

        Ok, I don't know how this behavior only appears on some systems (not some OSes, but different systems with the same OS might not show this behavior at all) and I don't want to waste anymore time on the investigation of this (perhaps, some time in the future).

        It seems like the attached patch has fixed the issue on one of my Ubuntu systems where I could reproduce this bug. Please very if this fixes the the issue for you as well.

        There's no way to verify this patch through the usual test-patch process but I will do some thorough testing before committing if it works for others as expected.

        Show
        Konstantin Boudnik added a comment - Ok, I don't know how this behavior only appears on some systems (not some OSes, but different systems with the same OS might not show this behavior at all) and I don't want to waste anymore time on the investigation of this (perhaps, some time in the future). It seems like the attached patch has fixed the issue on one of my Ubuntu systems where I could reproduce this bug. Please very if this fixes the the issue for you as well. There's no way to verify this patch through the usual test-patch process but I will do some thorough testing before committing if it works for others as expected.
        Hide
        Greg Roelofs added a comment -

        Trying to verify, but I'm stumped on an unrelated HDFS build failure at the moment.

        Show
        Greg Roelofs added a comment - Trying to verify, but I'm stumped on an unrelated HDFS build failure at the moment.
        Hide
        Greg Roelofs added a comment -

        OK, making progress, but still breaking in the fault-injection target(s):

        -compile-fault-inject:
        [echo] Start weaving aspects in place
        [iajc] [warning] build config error: skipping missing, empty or corrupt aspectpath entry: /ec/hadoop/hadoop-mapreduce/build-fi/system/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar
        [iajc]
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:36 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:174 [error] DaemonProtocol cannot be resolved to a type
        [iajc] if (protocol.equals(DaemonProtocol.class.getName())) {
        [iajc] ^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:175 [error] DaemonProtocol cannot be resolved
        [iajc] return DaemonProtocol.versionID;
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:193 [error] The method setUser(String) is undefined for the type JobTracker
        [iajc] tracker.setUser(ugi.getShortUserName());
        [iajc]
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:198 [error] The method setReady(boolean) is undefined for the type JobTracker
        [iajc] tracker.setReady(true);
        [iajc] ^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj:26 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj:50 [error] DaemonProtocol cannot be resolved to a type
        [iajc] DaemonProtocol.class));
        [iajc] ^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:30 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.ControlAction;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:31 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:41 [error] DaemonProtocol cannot be resolved to a type
        [iajc] private DaemonProtocol daemonProxy;
        [iajc] ^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:76 [error] ControlAction cannot be resolved to a type
        [iajc] ControlAction[] actions = daemonProxy.getActions(
        [iajc] ^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:76 [error] daemonProxy cannot be resolved
        [iajc] ControlAction[] actions = daemonProxy.getActions(
        [iajc] ^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:82 [error] ControlAction cannot be resolved to a type
        [iajc] for(ControlAction action : actions) {
        [iajc] ^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:87 [error] daemonProxy cannot be resolved
        [iajc] daemonProxy.removeAction(action);
        [iajc]
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:109 [error] daemonProxy cannot be resolved
        [iajc] daemonProxy =
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:30 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:107 [error] The method setUser(String) is undefined for the type TaskTracker
        [iajc] tracker.setUser(ugi.getShortUserName());
        [iajc]
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:112 [error] The method setReady(boolean) is undefined for the type TaskTracker
        [iajc] tracker.setReady(true);
        [iajc] ^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:121 [error] DaemonProtocol cannot be resolved to a type
        [iajc] if(protocol.equals(DaemonProtocol.class.getName())) {
        [iajc] ^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:122 [error] DaemonProtocol cannot be resolved
        [iajc] return DaemonProtocol.versionID;
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:23 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.ControlAction;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:28 [error] ControlAction cannot be resolved to a type
        [iajc] public class FinishTaskControlAction extends ControlAction<TaskID> {
        [iajc] ^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:38 [error] The constructor Object(TaskID) is undefined
        [iajc] super(new TaskID());
        [iajc] ^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:48 [error] The constructor Object(TaskID) is undefined
        [iajc] super(id);
        [iajc] ^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:35 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.RemoteProcess;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:45 [error] The hierarchy of the type JTClient is inconsistent
        [iajc] public class JTClient extends MRDaemonClient<JTProtocol> {
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:59 [error] RemoteProcess cannot be resolved to a type
        [iajc] public JTClient(Configuration conf, RemoteProcess daemon) throws IOException {
        [iajc] ^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:64 [error] The method connect() of type JTClient must override or implement a supertype method
        [iajc] public synchronized void connect() throws IOException {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:65 [error] The method isConnected() is undefined for the type JTClient
        [iajc] if (isConnected()) {
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:68 [error] The method getConf() is undefined for the type JTClient
        [iajc] client = new JobClient(new JobConf(getConf()));
        [iajc] ^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:69 [error] The method setConnected(boolean) is undefined for the type JTClient
        [iajc] setConnected(true);
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:73 [error] The method disconnect() of type JTClient must override or implement a supertype method
        [iajc] public synchronized void disconnect() throws IOException {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:78 [error] The method getProxy() of type JTClient must override or implement a supertype method
        [iajc] public synchronized JTProtocol getProxy() {
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:320 [error] The method getFileStatus(String, boolean) is undefined for the type JTClient
        [iajc] FileStatus st = getFileStatus(url, true);
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:324 [error] The method getFileStatus(String, boolean) is undefined for the type JTClient
        [iajc] FileStatus st = getFileStatus(url, false);
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTProtocol.java:25 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTProtocol.java:30 [error] DaemonProtocol cannot be resolved to a type
        [iajc] public interface JTProtocol extends DaemonProtocol {
        [iajc] ^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:31 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.AbstractDaemonClient;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:32 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.AbstractDaemonCluster;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:33 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.ClusterProcessManager;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:34 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.HadoopDaemonRemoteCluster;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:35 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.MultiUserHadoopDaemonRemoteCluster;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:36 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.RemoteProcess;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:37 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.HadoopDaemonRemoteCluster.HadoopDaemonInfo;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:44 [error] AbstractDaemonCluster cannot be resolved to a type
        [iajc] public class MRCluster extends AbstractDaemonCluster {
        [iajc] ^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:56 [error] HadoopDaemonInfo cannot be resolved to a type
        [iajc] private static List<HadoopDaemonInfo> mrDaemonInfos =
        [iajc] ^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:57 [error] HadoopDaemonInfo cannot be resolved to a type
        [iajc] new ArrayList<HadoopDaemonInfo>();
        [iajc] ^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:69 [error] ClusterProcessManager cannot be resolved to a type
        [iajc] private MRCluster(Configuration conf, ClusterProcessManager rCluster)
        [iajc] ^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:93 [error] mrDaemonInfos cannot be resolved
        [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("jobtracker",
        [iajc] ^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:93 [error] HadoopDaemonInfo cannot be resolved to a type
        [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("jobtracker",
        [iajc] ^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:95 [error] mrDaemonInfos cannot be resolved
        [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("tasktracker",
        [iajc] ^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:95 [error] HadoopDaemonInfo cannot be resolved to a type
        [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("tasktracker",
        [iajc] ^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:102 [error] ClusterProcessManager cannot be resolved to a type
        [iajc] Class<ClusterProcessManager> klass = (Class<ClusterProcessManager>) Class
        [iajc] ^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:102 [error] ClusterProcessManager cannot be resolved to a type
        [iajc] Class<ClusterProcessManager> klass = (Class<ClusterProcessManager>) Class
        [iajc] ^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:104 [error] ClusterProcessManager cannot be resolved to a type
        [iajc] ClusterProcessManager clusterProcessMgr = klass.newInstance();
        [iajc] ^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:110 [error] RemoteProcess cannot be resolved to a type
        [iajc] protected JTClient createJTClient(RemoteProcess jtDaemon)
        [iajc] ^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:112 [error] The method getConf() is undefined for the type MRCluster
        [iajc] return new JTClient(getConf(), jtDaemon);
        [iajc] ^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:115 [error] RemoteProcess cannot be resolved to a type
        [iajc] protected TTClient createTTClient(RemoteProcess ttDaemon)
        [iajc] ^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:117 [error] The method getConf() is undefined for the type MRCluster
        [iajc] return new TTClient(getConf(), ttDaemon);
        [iajc] ^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:121 [error] AbstractDaemonClient cannot be resolved to a type
        [iajc] Iterator<AbstractDaemonClient> it = getDaemons().get(Role.JT).iterator();
        [iajc] ^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:121 [error] The method getDaemons() is undefined for the type MRCluster
        [iajc] Iterator<AbstractDaemonClient> it = getDaemons().get(Role.JT).iterator();
        [iajc] ^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:126 [error] The method getDaemons() is undefined for the type MRCluster
        [iajc] return (List) getDaemons().get(Role.TT);
        [iajc] ^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:131 [error] The method getHostName() is undefined for the type TTClient
        [iajc] if (c.getHostName().equals(hostname)) {
        [iajc] ^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:139 [error] The method ensureClean() of type MRCluster must override or implement a supertype method
        [iajc] public void ensureClean() throws IOException {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:151 [error] AbstractDaemonClient cannot be resolved to a type
        [iajc] protected AbstractDaemonClient createClient(
        [iajc] ^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:152 [error] RemoteProcess cannot be resolved to a type
        [iajc] RemoteProcess process) throws IOException {
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:161 [error] HadoopDaemonRemoteCluster cannot be resolved to a type
        [iajc] public static class MRProcessManager extends HadoopDaemonRemoteCluster{
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:163 [error] mrDaemonInfos cannot be resolved
        [iajc] super(mrDaemonInfos);
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:168 [error] MultiUserHadoopDaemonRemoteCluster cannot be resolved to a type
        [iajc] extends MultiUserHadoopDaemonRemoteCluster {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:170 [error] mrDaemonInfos cannot be resolved
        [iajc] super(mrDaemonInfos);
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:25 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.AbstractDaemonClient;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:26 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:27 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.RemoteProcess;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:32 [error] DaemonProtocol cannot be resolved to a type
        [iajc] public abstract class MRDaemonClient<PROXY extends DaemonProtocol>
        [iajc] ^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:33 [error] AbstractDaemonClient cannot be resolved to a type
        [iajc] extends AbstractDaemonClient<PROXY>{
        [iajc] ^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:35 [error] RemoteProcess cannot be resolved to a type
        [iajc] public MRDaemonClient(Configuration conf, RemoteProcess process)
        [iajc] ^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:41 [error] The method getProxy() is undefined for the type MRDaemonClient<PROXY>
        [iajc] return getProxy().getDaemonConf().getStrings(MRConfig.LOCAL_DIR);
        [iajc] ^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:45 [error] The method getProcessInfo() is undefined for the type MRDaemonClient<PROXY>
        [iajc] return getProcessInfo().getSystemProperties().get("hadoop.log.dir");
        [iajc] ^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:30 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.process.RemoteProcess;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:38 [error] The hierarchy of the type TTClient is inconsistent
        [iajc] public class TTClient extends MRDaemonClient<TTProtocol> {
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:43 [error] RemoteProcess cannot be resolved to a type
        [iajc] public TTClient(Configuration conf, RemoteProcess daemon)
        [iajc] ^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:49 [error] The method connect() of type TTClient must override or implement a supertype method
        [iajc] public synchronized void connect() throws IOException {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:50 [error] The method isConnected() is undefined for the type TTClient
        [iajc] if (isConnected()) {
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:53 [error] The method getConf() is undefined for the type TTClient
        [iajc] String sockAddrStr = getConf().get(TTConfig.TT_REPORT_ADDRESS);
        [iajc] ^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:65 [error] The method getHostName() is undefined for the type TTClient
        [iajc] String sockAddr = getHostName() + ":" + port;
        [iajc] ^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:68 [error] The method getConf() is undefined for the type TTClient
        [iajc] bindAddr, getConf());
        [iajc]
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:69 [error] The method setConnected(boolean) is undefined for the type TTClient
        [iajc] setConnected(true);
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:73 [error] The method disconnect() of type TTClient must override or implement a supertype method
        [iajc] public synchronized void disconnect() throws IOException {
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:78 [error] The method getProxy() of type TTClient must override or implement a supertype method
        [iajc] public synchronized TTProtocol getProxy() {
        [iajc] ^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTProtocol.java:28 [error] The import org.apache.hadoop.test.system cannot be resolved
        [iajc] import org.apache.hadoop.test.system.DaemonProtocol;
        [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTProtocol.java:41 [error] DaemonProtocol cannot be resolved to a type
        [iajc] public interface TTProtocol extends DaemonProtocol {
        [iajc] ^^^^^^^^^^^^^
        [iajc]
        [iajc] 91 errors, 1 warning

        BUILD FAILED
        /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:232: The following error occurred while executing this line:
        /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:213: The following error occurred while executing this line:
        /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:90: compile errors: 91

        Without the patch, I was still seeing the original FakeObjectUtilities issue.

        Note that this build (unlike the original) had no build.properties file due to upstream HDFS breakage (HDFS-1344, HDFS-1345). Are the errors above simply a side effect of not downloading the hadoop-common-instrumented artifact? A previous (build.properties) build did grab the corresponding HDFS artifact:

        [ivy:resolve] downloading https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs-instrumented/0.22.0-SNAPSHOT/hadoop-hdfs-instrumented-0.22.0-20100803.191231-65.jar ...
        [ivy:resolve] [SUCCESSFUL ] org.apache.hadoop#hadoop-hdfs-instrumented;0.22.0-SNAPSHOT!hadoop-hdfs-instrumented.jar (1385ms)

        Oh, wait: the previous hadoop-hdfs build did so, but it's not obvious to me whether it puts it in ~/.ivy2 or in build or build-fi:

        [ivy:resolve] downloading https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common-instrumented/0.22.0-SNAPSHOT/hadoop-common-instrumented-0.22.0-20100817.201239-66.jar ...
        [ivy:resolve] [SUCCESSFUL ] org.apache.hadoop#hadoop-common-instrumented;0.22.0-SNAPSHOT!hadoop-common-instrumented.jar (973ms)

        Hmmm...find(1) reports one in hadoop-hdfs ...

        ./build-fi/ivy/lib/Hadoop-Hdfs/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar

        ...and two in hadoop-mapreduce:

        ./build-fi/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar
        ./build-fi/system/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar

        The latter path matches the one in the build config error, so I guess it thinks it's corrupt. The zipfile checks out, at least; no clue about its internal class layout.

        Show
        Greg Roelofs added a comment - OK, making progress, but still breaking in the fault-injection target(s): -compile-fault-inject: [echo] Start weaving aspects in place [iajc] [warning] build config error: skipping missing, empty or corrupt aspectpath entry: /ec/hadoop/hadoop-mapreduce/build-fi/system/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar [iajc] [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:36 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:174 [error] DaemonProtocol cannot be resolved to a type [iajc] if (protocol.equals(DaemonProtocol.class.getName())) { [iajc] ^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:175 [error] DaemonProtocol cannot be resolved [iajc] return DaemonProtocol.versionID; [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:193 [error] The method setUser(String) is undefined for the type JobTracker [iajc] tracker.setUser(ugi.getShortUserName()); [iajc] [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:198 [error] The method setReady(boolean) is undefined for the type JobTracker [iajc] tracker.setReady(true); [iajc] ^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj:26 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj:50 [error] DaemonProtocol cannot be resolved to a type [iajc] DaemonProtocol.class)); [iajc] ^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:30 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.ControlAction; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:31 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:41 [error] DaemonProtocol cannot be resolved to a type [iajc] private DaemonProtocol daemonProxy; [iajc] ^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:76 [error] ControlAction cannot be resolved to a type [iajc] ControlAction[] actions = daemonProxy.getActions( [iajc] ^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:76 [error] daemonProxy cannot be resolved [iajc] ControlAction[] actions = daemonProxy.getActions( [iajc] ^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:82 [error] ControlAction cannot be resolved to a type [iajc] for(ControlAction action : actions) { [iajc] ^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:87 [error] daemonProxy cannot be resolved [iajc] daemonProxy.removeAction(action); [iajc] [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:109 [error] daemonProxy cannot be resolved [iajc] daemonProxy = [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:30 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:107 [error] The method setUser(String) is undefined for the type TaskTracker [iajc] tracker.setUser(ugi.getShortUserName()); [iajc] [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:112 [error] The method setReady(boolean) is undefined for the type TaskTracker [iajc] tracker.setReady(true); [iajc] ^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:121 [error] DaemonProtocol cannot be resolved to a type [iajc] if(protocol.equals(DaemonProtocol.class.getName())) { [iajc] ^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:122 [error] DaemonProtocol cannot be resolved [iajc] return DaemonProtocol.versionID; [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:23 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.ControlAction; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:28 [error] ControlAction cannot be resolved to a type [iajc] public class FinishTaskControlAction extends ControlAction<TaskID> { [iajc] ^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:38 [error] The constructor Object(TaskID) is undefined [iajc] super(new TaskID()); [iajc] ^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/FinishTaskControlAction.java:48 [error] The constructor Object(TaskID) is undefined [iajc] super(id); [iajc] ^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:35 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.RemoteProcess; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:45 [error] The hierarchy of the type JTClient is inconsistent [iajc] public class JTClient extends MRDaemonClient<JTProtocol> { [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:59 [error] RemoteProcess cannot be resolved to a type [iajc] public JTClient(Configuration conf, RemoteProcess daemon) throws IOException { [iajc] ^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:64 [error] The method connect() of type JTClient must override or implement a supertype method [iajc] public synchronized void connect() throws IOException { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:65 [error] The method isConnected() is undefined for the type JTClient [iajc] if (isConnected()) { [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:68 [error] The method getConf() is undefined for the type JTClient [iajc] client = new JobClient(new JobConf(getConf())); [iajc] ^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:69 [error] The method setConnected(boolean) is undefined for the type JTClient [iajc] setConnected(true); [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:73 [error] The method disconnect() of type JTClient must override or implement a supertype method [iajc] public synchronized void disconnect() throws IOException { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:78 [error] The method getProxy() of type JTClient must override or implement a supertype method [iajc] public synchronized JTProtocol getProxy() { [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:320 [error] The method getFileStatus(String, boolean) is undefined for the type JTClient [iajc] FileStatus st = getFileStatus(url, true); [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTClient.java:324 [error] The method getFileStatus(String, boolean) is undefined for the type JTClient [iajc] FileStatus st = getFileStatus(url, false); [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTProtocol.java:25 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/JTProtocol.java:30 [error] DaemonProtocol cannot be resolved to a type [iajc] public interface JTProtocol extends DaemonProtocol { [iajc] ^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:31 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.AbstractDaemonClient; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:32 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.AbstractDaemonCluster; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:33 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.ClusterProcessManager; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:34 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.HadoopDaemonRemoteCluster; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:35 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.MultiUserHadoopDaemonRemoteCluster; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:36 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.RemoteProcess; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:37 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.HadoopDaemonRemoteCluster.HadoopDaemonInfo; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:44 [error] AbstractDaemonCluster cannot be resolved to a type [iajc] public class MRCluster extends AbstractDaemonCluster { [iajc] ^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:56 [error] HadoopDaemonInfo cannot be resolved to a type [iajc] private static List<HadoopDaemonInfo> mrDaemonInfos = [iajc] ^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:57 [error] HadoopDaemonInfo cannot be resolved to a type [iajc] new ArrayList<HadoopDaemonInfo>(); [iajc] ^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:69 [error] ClusterProcessManager cannot be resolved to a type [iajc] private MRCluster(Configuration conf, ClusterProcessManager rCluster) [iajc] ^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:93 [error] mrDaemonInfos cannot be resolved [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("jobtracker", [iajc] ^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:93 [error] HadoopDaemonInfo cannot be resolved to a type [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("jobtracker", [iajc] ^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:95 [error] mrDaemonInfos cannot be resolved [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("tasktracker", [iajc] ^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:95 [error] HadoopDaemonInfo cannot be resolved to a type [iajc] mrDaemonInfos.add(new HadoopDaemonInfo("tasktracker", [iajc] ^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:102 [error] ClusterProcessManager cannot be resolved to a type [iajc] Class<ClusterProcessManager> klass = (Class<ClusterProcessManager>) Class [iajc] ^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:102 [error] ClusterProcessManager cannot be resolved to a type [iajc] Class<ClusterProcessManager> klass = (Class<ClusterProcessManager>) Class [iajc] ^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:104 [error] ClusterProcessManager cannot be resolved to a type [iajc] ClusterProcessManager clusterProcessMgr = klass.newInstance(); [iajc] ^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:110 [error] RemoteProcess cannot be resolved to a type [iajc] protected JTClient createJTClient(RemoteProcess jtDaemon) [iajc] ^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:112 [error] The method getConf() is undefined for the type MRCluster [iajc] return new JTClient(getConf(), jtDaemon); [iajc] ^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:115 [error] RemoteProcess cannot be resolved to a type [iajc] protected TTClient createTTClient(RemoteProcess ttDaemon) [iajc] ^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:117 [error] The method getConf() is undefined for the type MRCluster [iajc] return new TTClient(getConf(), ttDaemon); [iajc] ^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:121 [error] AbstractDaemonClient cannot be resolved to a type [iajc] Iterator<AbstractDaemonClient> it = getDaemons().get(Role.JT).iterator(); [iajc] ^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:121 [error] The method getDaemons() is undefined for the type MRCluster [iajc] Iterator<AbstractDaemonClient> it = getDaemons().get(Role.JT).iterator(); [iajc] ^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:126 [error] The method getDaemons() is undefined for the type MRCluster [iajc] return (List) getDaemons().get(Role.TT); [iajc] ^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:131 [error] The method getHostName() is undefined for the type TTClient [iajc] if (c.getHostName().equals(hostname)) { [iajc] ^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:139 [error] The method ensureClean() of type MRCluster must override or implement a supertype method [iajc] public void ensureClean() throws IOException { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:151 [error] AbstractDaemonClient cannot be resolved to a type [iajc] protected AbstractDaemonClient createClient( [iajc] ^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:152 [error] RemoteProcess cannot be resolved to a type [iajc] RemoteProcess process) throws IOException { [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:161 [error] HadoopDaemonRemoteCluster cannot be resolved to a type [iajc] public static class MRProcessManager extends HadoopDaemonRemoteCluster{ [iajc] ^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:163 [error] mrDaemonInfos cannot be resolved [iajc] super(mrDaemonInfos); [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:168 [error] MultiUserHadoopDaemonRemoteCluster cannot be resolved to a type [iajc] extends MultiUserHadoopDaemonRemoteCluster { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRCluster.java:170 [error] mrDaemonInfos cannot be resolved [iajc] super(mrDaemonInfos); [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:25 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.AbstractDaemonClient; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:26 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:27 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.RemoteProcess; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:32 [error] DaemonProtocol cannot be resolved to a type [iajc] public abstract class MRDaemonClient<PROXY extends DaemonProtocol> [iajc] ^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:33 [error] AbstractDaemonClient cannot be resolved to a type [iajc] extends AbstractDaemonClient<PROXY>{ [iajc] ^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:35 [error] RemoteProcess cannot be resolved to a type [iajc] public MRDaemonClient(Configuration conf, RemoteProcess process) [iajc] ^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:41 [error] The method getProxy() is undefined for the type MRDaemonClient<PROXY> [iajc] return getProxy().getDaemonConf().getStrings(MRConfig.LOCAL_DIR); [iajc] ^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/MRDaemonClient.java:45 [error] The method getProcessInfo() is undefined for the type MRDaemonClient<PROXY> [iajc] return getProcessInfo().getSystemProperties().get("hadoop.log.dir"); [iajc] ^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:30 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.process.RemoteProcess; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:38 [error] The hierarchy of the type TTClient is inconsistent [iajc] public class TTClient extends MRDaemonClient<TTProtocol> { [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:43 [error] RemoteProcess cannot be resolved to a type [iajc] public TTClient(Configuration conf, RemoteProcess daemon) [iajc] ^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:49 [error] The method connect() of type TTClient must override or implement a supertype method [iajc] public synchronized void connect() throws IOException { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:50 [error] The method isConnected() is undefined for the type TTClient [iajc] if (isConnected()) { [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:53 [error] The method getConf() is undefined for the type TTClient [iajc] String sockAddrStr = getConf().get(TTConfig.TT_REPORT_ADDRESS); [iajc] ^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:65 [error] The method getHostName() is undefined for the type TTClient [iajc] String sockAddr = getHostName() + ":" + port; [iajc] ^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:68 [error] The method getConf() is undefined for the type TTClient [iajc] bindAddr, getConf()); [iajc] [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:69 [error] The method setConnected(boolean) is undefined for the type TTClient [iajc] setConnected(true); [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:73 [error] The method disconnect() of type TTClient must override or implement a supertype method [iajc] public synchronized void disconnect() throws IOException { [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTClient.java:78 [error] The method getProxy() of type TTClient must override or implement a supertype method [iajc] public synchronized TTProtocol getProxy() { [iajc] ^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTProtocol.java:28 [error] The import org.apache.hadoop.test.system cannot be resolved [iajc] import org.apache.hadoop.test.system.DaemonProtocol; [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [iajc] /ec/hadoop/hadoop-mapreduce/src/test/system/java/org/apache/hadoop/mapreduce/test/system/TTProtocol.java:41 [error] DaemonProtocol cannot be resolved to a type [iajc] public interface TTProtocol extends DaemonProtocol { [iajc] ^^^^^^^^^^^^^ [iajc] [iajc] 91 errors, 1 warning BUILD FAILED /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:232: The following error occurred while executing this line: /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:213: The following error occurred while executing this line: /ec/hadoop/hadoop-mapreduce/src/test/aop/build/aop.xml:90: compile errors: 91 Without the patch, I was still seeing the original FakeObjectUtilities issue. Note that this build (unlike the original) had no build.properties file due to upstream HDFS breakage ( HDFS-1344 , HDFS-1345 ). Are the errors above simply a side effect of not downloading the hadoop-common-instrumented artifact? A previous (build.properties) build did grab the corresponding HDFS artifact: [ivy:resolve] downloading https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs-instrumented/0.22.0-SNAPSHOT/hadoop-hdfs-instrumented-0.22.0-20100803.191231-65.jar ... [ivy:resolve] [SUCCESSFUL ] org.apache.hadoop#hadoop-hdfs-instrumented;0.22.0-SNAPSHOT!hadoop-hdfs-instrumented.jar (1385ms) Oh, wait: the previous hadoop-hdfs build did so, but it's not obvious to me whether it puts it in ~/.ivy2 or in build or build-fi: [ivy:resolve] downloading https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common-instrumented/0.22.0-SNAPSHOT/hadoop-common-instrumented-0.22.0-20100817.201239-66.jar ... [ivy:resolve] [SUCCESSFUL ] org.apache.hadoop#hadoop-common-instrumented;0.22.0-SNAPSHOT!hadoop-common-instrumented.jar (973ms) Hmmm...find(1) reports one in hadoop-hdfs ... ./build-fi/ivy/lib/Hadoop-Hdfs/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar ...and two in hadoop-mapreduce: ./build-fi/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar ./build-fi/system/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar The latter path matches the one in the build config error, so I guess it thinks it's corrupt. The zipfile checks out, at least; no clue about its internal class layout.
        Hide
        Konstantin Boudnik added a comment -

        well, I have posted an incomplete patch. Sorry for the false alarm. This one seems to be working for everything. I have verified it by running all targets used by mvn-install.

        The HDFS issue you have came across is caused by HDFS-1157 and should be committed shortly.

        Show
        Konstantin Boudnik added a comment - well, I have posted an incomplete patch. Sorry for the false alarm. This one seems to be working for everything. I have verified it by running all targets used by mvn-install. The HDFS issue you have came across is caused by HDFS-1157 and should be committed shortly.
        Hide
        Greg Roelofs added a comment -

        Looks like you uploaded the same patch twice?

        Show
        Greg Roelofs added a comment - Looks like you uploaded the same patch twice?
        Hide
        Konstantin Boudnik added a comment -

        Oops, posted the same one last time

        Show
        Konstantin Boudnik added a comment - Oops, posted the same one last time
        Hide
        Greg Roelofs added a comment -

        Works beautifully! Many thanks, Konstantin!

        Show
        Greg Roelofs added a comment - Works beautifully! Many thanks, Konstantin!
        Hide
        Konstantin Boudnik added a comment -

        I'm glad it has worked out well, finally. This was a weird one.

        Show
        Konstantin Boudnik added a comment - I'm glad it has worked out well, finally. This was a weird one.
        Hide
        Chris Douglas added a comment -

        +1

        Thanks for tracking this down, Cos

        Show
        Chris Douglas added a comment - +1 Thanks for tracking this down, Cos
        Hide
        Konstantin Boudnik added a comment -

        Submitting for the verification. Pretty useless, considering that test-patch isn't aware about system-test framework. Manual verification has been ran already.

        Show
        Konstantin Boudnik added a comment - Submitting for the verification. Pretty useless, considering that test-patch isn't aware about system-test framework. Manual verification has been ran already.
        Hide
        Konstantin Boudnik added a comment -

        As everything system test related goes to under build-fi/system test runtime classpath needs to point there as well. Doesn't change the scope of the patch at all.

        Show
        Konstantin Boudnik added a comment - As everything system test related goes to under build-fi/system test runtime classpath needs to point there as well. Doesn't change the scope of the patch at all.
        Hide
        Konstantin Boudnik added a comment -

        Apache Hudson patch verification is broken. Thus I have ran test-patch.sh locally:

        +1 overall.
        
            +1 @author.  The patch does not contain any @author tags.
        
            +1 tests included.  The patch appears to include 13 new or modified tests.
        
            +1 javadoc.  The javadoc tool did not generate any warning messages.
        
            +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
        
            +1 findbugs.  The patch does not introduce any new Findbugs warnings.
        
            +1 release audit.  The applied patch does not increase the total number of release audit warnings.
        
            +1 system tests framework.  The patch passed system tests framework compile.
        

        Test run result is to follow

        Show
        Konstantin Boudnik added a comment - Apache Hudson patch verification is broken. Thus I have ran test-patch.sh locally: +1 overall. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 13 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 system tests framework. The patch passed system tests framework compile. Test run result is to follow
        Hide
        Konstantin Boudnik added a comment -

        I have ran commit tests:

        ant run-commit-test
        Buildfile: build.xml
        ...
        run-commit-test:
        ...
        BUILD SUCCESSFUL
        Total time: 13 minutes 41 seconds
        

        Patch is ready to be committed in my opinion. If I don't hear otherwise I'll commit it by COB Monday.

        Show
        Konstantin Boudnik added a comment - I have ran commit tests: ant run-commit-test Buildfile: build.xml ... run-commit-test: ... BUILD SUCCESSFUL Total time: 13 minutes 41 seconds Patch is ready to be committed in my opinion. If I don't hear otherwise I'll commit it by COB Monday.
        Hide
        Konstantin Boudnik added a comment -

        I have committed this to the trunk and 0.21 branch.

        Show
        Konstantin Boudnik added a comment - I have committed this to the trunk and 0.21 branch.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/ )

          People

          • Assignee:
            Konstantin Boudnik
            Reporter:
            Greg Roelofs
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development