Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1897

trunk build broken on compile-mapred-test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.1
    • test
    • None
    • RHEL4 Linux, Java 1.6.0_15-b03

    • 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] ^

      Attachments

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

        Activity

          People

            cos Konstantin I Boudnik
            roelofs Greg Roelofs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: