Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # dev - trying to build MR examples from trunk fails


Copy link to this message
-
Re: trying to build MR examples from trunk fails
Alejandro Abdelnur 2011-10-16, 04:07
Arun,Hitesh,

Thanks, that did it. I also had to add the following exclusion to the
hadoop-mapreduce-project ivy.xml:

  <exclude org="org.apache.commons" module="commons-daemon"/>

I'll open a  JIRA for it.

Thanks.

Alejandro
On Sat, Oct 15, 2011 at 2:24 PM, Hitesh Shah <[EMAIL PROTECTED]> wrote:

> The errors (atleast the local framework one) seem to be changes in the past
> few days so if you haven't tried this already, re-compiling your local
> source tree if needed to install the jars locally and purging away your ivy
> cache before re-trying should likely fix things.
>
> -- Hitesh
>
> On Oct 15, 2011, at 12:28 PM, Alejandro Abdelnur wrote:
>
> > Running 'ant examples -Dresolvers=internal' from trunk fails with.
> >
> > Any ideas?
> >
> > Thanks.
> >
> > Alejandro
> >
> > ------
> > compile-mapred-classes:
> > [jsp-compile] log4j:WARN No appenders could be found for logger
> > (org.apache.jasper.JspC).
> > [jsp-compile] log4j:WARN Please initialize the log4j system properly.
> > [jsp-compile] log4j:WARN See
> > http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> >    [javac]
> > /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/build.xml:398:
> > warning: 'includeantruntime' was not set, defaulting to
> > build.sysclasspath=last; set to false for repeatable builds
> >    [javac] Compiling 94 source files to
> > /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/build/classes
> >    [javac]
> >
> /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobInProgress.java:697:
> > cannot find symbol
> >    [javac] symbol  : constructor
> >
> JobInitedEvent(org.apache.hadoop.mapred.JobID,long,int,int,java.lang.String,boolean)
> >    [javac] location: class
> > org.apache.hadoop.mapreduce.jobhistory.JobInitedEvent
> >    [javac]     JobInitedEvent jie = new JobInitedEvent(
> >    [javac]                          ^
> >    [javac]
> >
> /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobInProgress.java:2677:
> > cannot find symbol
> >    [javac] symbol  : constructor
> >
> TaskAttemptStartedEvent(org.apache.hadoop.mapred.TaskAttemptID,org.apache.hadoop.mapreduce.TaskType,long,java.lang.String,int,int)
> >    [javac] location: class
> > org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStartedEvent
> >    [javac]     TaskAttemptStartedEvent tse = new TaskAttemptStartedEvent(
> >    [javac]                                   ^
> >    [javac]
> >
> /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobInProgress.java:3199:
> > cannot find symbol
> >    [javac] symbol  : constructor
> >
> TaskAttemptStartedEvent(org.apache.hadoop.mapred.TaskAttemptID,org.apache.hadoop.mapreduce.TaskType,long,java.lang.String,int,int)
> >    [javac] location: class
> > org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStartedEvent
> >    [javac]     TaskAttemptStartedEvent tse = new TaskAttemptStartedEvent(
> >    [javac]                                   ^
> >    [javac]
> >
> /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobTrackerClientProtocolProvider.java:40:
> > cannot find symbol
> >    [javac] symbol  : variable CLASSIC_FRAMEWORK_NAME
> >    [javac] location: interface org.apache.hadoop.mapreduce.MRConfig
> >    [javac]     if (!MRConfig.CLASSIC_FRAMEWORK_NAME.equals(framework)) {
> >    [javac]                  ^
> >    [javac]
> >
> /Users/tucu/src/apache/hadoop/svn/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/LocalClientProtocolProvider.java:37:
> > cannot find symbol
> >    [javac] symbol  : variable LOCAL_FRAMEWORK_NAME
> >    [javac] location: interface org.apache.hadoop.mapreduce.MRConfig
> >    [javac]     if (framework != null &&
> > !framework.equals(MRConfig.LOCAL_FRAMEWORK_NAME)) {
> >    [javac]                                                        ^
> >    [javac] Note: Some input files use or override a deprecated API.