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

Konstantin Shvachko commented on MAPREDUCE-3088:
------------------------------------------------

Builds Hadoop-Mapreduce-22-branch and Hadoop-Common-22-branch are failing with 
Clover 2.4.3 with the following errors
{code}
    [javac] 
/tmp/clover2147354516366044457.tmp/org/apache/hadoop/mapreduce/TestMRJobClient.java:79:
 __CLR2_4_3l8k0isisr(java.lang.String,org.apache.hadoop.conf.Configuration) in 
org.apache.hadoop.mapreduce.TestMRJobClient cannot be applied to ()
    [javac]       Configuration conf) throws Exception 
{__CLR2_4_3is6is6gsntdcsz.R.globalSliceStart(getClass().getName(),24363);int 
p=0;java.lang.Throwable 
t=null;try{__CLR2_4_3l8k0isisr();p=1;}catch(java.lang.Throwable 
t2){if(p==0&&t==null){t=t2;}__CLR2_4_3is6is6gsntdcsz.R.rethrow(t2);}finally{__CLR2_4_3is6is6gsntdcsz.R.globalSliceEnd(getClass().getName(),"org.apache.hadoop.mapreduce.TestMRJobClient.testGetCounter",24363,p,t);}}private
 void  __CLR2_4_3l8k0isisr(String jobId, Configuration conf) throws 
Exception{__CLR2_4_3is6is6gsntdcsz.R.inc(24363);
    [javac]                                                                     
                                                                                
       ^
    [javac] 
/tmp/clover2147354516366044457.tmp/org/apache/hadoop/mapreduce/TestMRJobClient.java:91:
 __CLR2_4_3buo4k5isw(java.lang.String,org.apache.hadoop.conf.Configuration) in 
org.apache.hadoop.mapreduce.TestMRJobClient cannot be applied to ()
    [javac]       Configuration conf) throws Exception 
{__CLR2_4_3is6is6gsntdcsz.R.globalSliceStart(getClass().getName(),24368);int 
p=0;java.lang.Throwable 
t=null;try{__CLR2_4_3buo4k5isw();p=1;}catch(java.lang.Throwable 
t2){if(p==0&&t==null){t=t2;}__CLR2_4_3is6is6gsntdcsz.R.rethrow(t2);}finally{__CLR2_4_3is6is6gsntdcsz.R.globalSliceEnd(getClass().getName(),"org.apache.hadoop.mapreduce.TestMRJobClient.testJobList",24368,p,t);}}private
 void  __CLR2_4_3buo4k5isw(String jobId, Configuration conf) throws 
Exception{__CLR2_4_3is6is6gsntdcsz.R.inc(24368);
    [javac]                                                                     
                                                                                
       ^
    [javac] 
/tmp/clover2147354516366044457.tmp/org/apache/hadoop/mapreduce/TestMRJobClient.java:118:
 __CLR2_4_3ouihteitg(java.lang.String,org.apache.hadoop.conf.Configuration) in 
org.apache.hadoop.mapreduce.TestMRJobClient cannot be applied to ()
    [javac]       throws Exception 
{__CLR2_4_3is6is6gsntdcsz.R.globalSliceStart(getClass().getName(),24388);int 
p=0;java.lang.Throwable 
t=null;try{__CLR2_4_3ouihteitg();p=1;}catch(java.lang.Throwable 
t2){if(p==0&&t==null){t=t2;}__CLR2_4_3is6is6gsntdcsz.R.rethrow(t2);}finally{__CLR2_4_3is6is6gsntdcsz.R.globalSliceEnd(getClass().getName(),"org.apache.hadoop.mapreduce.TestMRJobClient.testChangingJobPriority",24388,p,t);}}private
 void  __CLR2_4_3ouihteitg(String jobId, Configuration conf) throws 
Exception{__CLR2_4_3is6is6gsntdcsz.R.inc(24388);
    [javac]                                                                     
                                                                   ^
{code}
This appears to be a known problem with clover 2.4.3, which was fixed in later 
versions.
http://forums.atlassian.com/message.jspa?messageID=257304379

I disabled clover in Hadoop-Common-22-branch build by modifying build 
arguments. But disabling Clover for Hadoop-Mapreduce-22-branch requires 
changing hudsonBuildHadoopNightly.sh with current build configuration.

I tried to upgrade to Clover 3.1.0, but clover.license does not work for this 
version.
So I don't see any options now but to disable clover.
Apparently, builds for 0.23 branch have clover disabled already. Didn't check 
trunk yet.

> Clover 2.4.3 breaks build for 0.22 branch
> -----------------------------------------
>
>                 Key: MAPREDUCE-3088
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3088
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.22.0
>
>
> Due to known bug in Clover 2.4.3 build for 0.22 branch is broken.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to