hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Roelofs (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1897) trunk build broken on compile-mapred-test
Date Wed, 18 Aug 2010 00:03:18 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899658#action_12899658
] 

Greg Roelofs commented on MAPREDUCE-1897:
-----------------------------------------

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.

> 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