You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2011/08/19 09:39:27 UTC

[jira] [Commented] (MAPREDUCE-2859) mapreduce trunk is broken with eclipse plugin contrib

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

Vinod Kumar Vavilapalli commented on MAPREDUCE-2859:
----------------------------------------------------

The JobConf, JobClient and a whole bunch of classes moved to the hadoop-mr-client/hadoop-mapreduce-client-core maven module. Locally we install these modules and then go ahead with compilation via ant.

We can take one of the two steps: (1) Follow the same steps in Jenkins scripts to first install the maven modules locally and then run ant (2) Publish all the new mapreduce maven modules to apache maven repositories.

Giri, comment on which one's the easier path? (2) definitely is the correct path, I think, but I am not sure who/what publishes the modules (for e.g. common) to maven repos. 

> mapreduce trunk is broken with eclipse plugin contrib
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-2859
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2859
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>         Environment: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Mapreduce-trunk/771/consoleFull
>            Reporter: Giridharan Kesavan
>
> ant compile with eclipse home fails mapreduce trunk builds.
> $ANT_HOME/bin/ant -Dversion=${VERSION} -Declipse.home=$ECLIPSE_HOME compile
> compile:
>      [echo] contrib: eclipse-plugin 
>     [javac] Compiling 45 source files to /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build/contrib/eclipse-plugin/classes
>     [javac] /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java:39: cannot find symbol
>     [javac] symbol  : class JobClient
>     [javac] location: package org.apache.hadoop.mapred
>     [javac] import org.apache.hadoop.mapred.JobClient;
>     [javac]                                ^
> -----
>  [javac]     JobConf conf = new JobConf(location.getConfiguration());
>     [javac]                        ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 49 errors
> BUILD FAILED
> /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build.xml:451: The following error occurred while executing this line:
> /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/src/contrib/build.xml:30: The following error occurred while executing this line:
> /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/trunk/src/contrib/eclipse-plugin/build.xml:62: Compile failed; see the compiler error output for details.

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