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

Switch to Threaded View
MapReduce >> mail # dev >> Problem with MRv2 Build


Copy link to this message
-
Re: Problem with MRv2 Build
Haoyuan,

I am using Ubuntu 11.04, which doesn't come with autoconf/autoreconf. So, I
had to install autoconf (installed autoconf and autoreconf) to get rid of
the above error.

Thanks,
Praveen

On Wed, Aug 10, 2011 at 10:58 AM, Arun C Murthy <[EMAIL PROTECTED]> wrote:

> Looks like you don't have autotool chain required to build the native code
> for launching containers.
>
> It isn't critical - you can run with the java based
> DefaultContainerExecutor.
>
> Just pass -P-cbuild to maven to skip building the native code.
>
> Arun
>
> On Aug 9, 2011, at 10:24 PM, Haoyuan Li wrote:
>
> > Hi Praveen,
> >
> > Thank you for the info. It did help. Everything before "mvn clean install
> > assembly:assembly -DskipTests" worked well, and I got the following
> errors.
> > Do you have any clue?
> >
> > Best,
> >
> > Haoyuan
> >
> > main:
> >     [echo] project.build.directory:
> >
> /home/haoyuan/hadoop/trunk/mapreduce/yarn/yarn-server/yarn-server-nodemanager/target
> >     [copy] Copying 1 file to
> >
> /home/haoyuan/hadoop/trunk/mapreduce/yarn/yarn-server/yarn-server-nodemanager/target
> >     [copy] Copying
> >
> /home/haoyuan/hadoop/trunk/mapreduce/yarn/yarn-server/yarn-server-nodemanager/pom.xml
> > to
> >
> /home/haoyuan/hadoop/trunk/mapreduce/yarn/yarn-server/yarn-server-nodemanager/target/saner-pom.xml
> > [INFO] Executed tasks
> > [INFO]
> > [INFO] --- make-maven-plugin:1.0-beta-1:autoreconf (autoreconf) @
> > yarn-server-nodemanager ---
> > [DEBUG] org.codehaus.mojo:make-maven-plugin:jar:1.0-beta-1:
> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
> > [DEBUG]    org.codehaus.mojo:cbuild-utils:jar:1.0-beta-1:compile
> > [DEBUG]
> >
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
> > [DEBUG]          junit:junit:jar:4.4:test (scope managed from compile)
> > (version managed from 3.8.1)
> > [DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
> > [DEBUG]       org.apache.maven:maven-core:jar:2.1.0:compile
> > [DEBUG]
> > org.apache.maven:maven-plugin-parameter-documenter:jar:2.1.0:compile
> > [DEBUG]
> > org.apache.maven.reporting:maven-reporting-api:jar:2.1.0:compile
> > [DEBUG]             org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> > [DEBUG]
> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> > [DEBUG]
> > org.apache.maven:maven-repository-metadata:jar:2.1.0:compile
> > [DEBUG]
>  org.apache.maven:maven-error-diagnostics:jar:2.1.0:compile
> > [DEBUG]          commons-cli:commons-cli:jar:1.0:compile
> > [DEBUG]
>  org.apache.maven:maven-plugin-descriptor:jar:2.1.0:compile
> > [DEBUG]
> > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> > [DEBUG]          org.apache.maven:maven-monitor:jar:2.1.0:compile
> > [DEBUG]
>  org.sonatype.plexus:plexus-sec-dispatcher:jar:1.1:compile
> > [DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.1:compile
> > [DEBUG]       org.apache.maven:maven-model:jar:2.1.0:compile
> > [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.1.0:compile
> > [DEBUG]
> > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> > [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.8.1:compile
> > [DEBUG]    org.apache.maven.shared:file-management:jar:1.2.1:compile
> > [DEBUG]       org.apache.maven.shared:maven-shared-io:jar:1.1:compile
> > [DEBUG]
> > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-5:compile (version
> > managed from 1.0-alpha-6)
> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.1.0:compile
> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.1.0:compile
> > [DEBUG]    org.apache.maven:maven-project:jar:2.1.0:compile
> > [DEBUG]       org.apache.maven:maven-settings:jar:2.1.0:compile
> > [DEBUG]       org.apache.maven:maven-profile:jar:2.1.0:compile
> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.1.0:compile
> > [DEBUG] Created new class realm
> > plugin>org.codehaus.mojo:make-maven-plugin:1.0-beta-1
> > [DEBUG] Importing foreign packages into class realm