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

Ranjit Mathew commented on MAPREDUCE-2134:
------------------------------------------

FWIW, {{ant binary-system}} fails like this for me with the latest trunk (rev. 
1022856):
{quote}
-compile-fault-inject:
     [echo] Start weaving aspects in place
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/java/org/apache/hadoop/mapred/JobTracker.java:1466
 [error] The method refreshServiceAcl(JobConf, MapReducePolicyProvider) is 
undefined for the type Server
     [iajc] this.interTrackerServer.refreshServiceAcl(conf, new 
MapReducePolicyProvider());
     [iajc]                         ^^^^^^^^^^
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/java/org/apache/hadoop/mapred/JobTracker.java:4361
 [error] The method refreshServiceAcl(JobConf, MapReducePolicyProvider) is 
undefined for the type Server
     [iajc] this.interTrackerServer.refreshServiceAcl(conf, new 
MapReducePolicyProvider());
     [iajc]                         ^^^^^^^^^^^^
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/java/org/apache/hadoop/mapred/TaskTracker.java:661
 [error] The method refreshServiceAcl(JobConf, PolicyProvider) is undefined for 
the type Server
     [iajc] this.taskReportServer.refreshServiceAcl(fConf, policyProvider);
     [iajc]                       ^^^^^^^^^^
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:190
 [warning] advice defined in org.apache.hadoop.mapred.JobTrackerAspect has not 
been applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj:172
 [warning] advice defined in org.apache.hadoop.mapred.JobTrackerAspect has not 
been applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:119
 [warning] advice defined in org.apache.hadoop.mapred.TaskTrackerAspect has not 
been applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:103
 [warning] advice defined in org.apache.hadoop.mapred.TaskTrackerAspect has not 
been applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskTrackerAspect.aj:91
 [warning] advice defined in org.apache.hadoop.mapred.TaskTrackerAspect has not 
been applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:72
 [warning] advice defined in org.apache.hadoop.mapred.TaskAspect has not been 
applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/TaskAspect.aj:46
 [warning] advice defined in org.apache.hadoop.mapred.TaskAspect has not been 
applied [Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/system/aop/org/apache/hadoop/mapred/MapReducePolicyProviderAspect.aj:42
 [warning] advice defined in 
org.apache.hadoop.mapred.MapReducePolicyProviderAspect has not been applied 
[Xlint:adviceDidNotMatch]
     [iajc]     
     [iajc] 
     [iajc] 3 errors, 8 warnings

BUILD FAILED
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/aop/build/aop.xml:233: The 
following error occurred while executing this line:
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/aop/build/aop.xml:214: The 
following error occurred while executing this line:
/home/ranjit/src/Hadoop/Apache/mapreduce/src/test/aop/build/aop.xml:90: compile 
errors: 3
{quote}

> ant binary-system is broken in mapreduce project.
> -------------------------------------------------
>
>                 Key: MAPREDUCE-2134
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2134
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Vinay Kumar Thota
>
> Build failed due to unable to copy the commons instrumented jar. I could see 
> the following error in the log.
> binary-system:
>      [copy] Copying 5 files to 
> /home/vinay/mapreduce/build-fi/system/hadoop-mapred-0.22.0-SNAPSHOT
> BUILD FAILED
> /home/vinay/mapreduce/build.xml:1307: Warning: Could not find file 
> /home/vinay/mapreduce/build-fi/ivy/lib/Hadoop/system/hadoop-common-instrumented-0.22.0-SNAPSHOT.jar
>  to copy.
> It's pointing to the wrong path to copy the file. Actually the correct path 
> is,
> /home/vinay/mapreduce/build-fi/system/ivy/Hadoop/system

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

Reply via email to