hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1897) trunk build broken on compile-mapred-test
Date Tue, 17 Aug 2010 05:12:16 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Boudnik updated MAPREDUCE-1897:
------------------------------------------

    Attachment: MAPREDUCE-1897.patch

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.

> trunk build broken on compile-mapred-test
> -----------------------------------------
>
>                 Key: MAPREDUCE-1897
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1897
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: RHEL4 Linux, Java 1.6.0_15-b03
>            Reporter: Greg Roelofs
>            Assignee: Konstantin Boudnik
>         Attachments: MAPREDUCE-1897.patch
>
>
> ...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]                                    ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message