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

Switch to Threaded View
MapReduce >> mail # dev >> Build failure in map reduce trunk


Copy link to this message
-
Re: Build failure in map reduce trunk
Tharnindu,

Execute mvn eclipse:eclipse from root and you would be able to import the
projects in eclipse. Then it would be easier to browse the code easily.

Thanks,
Praveen

On Sun, Aug 28, 2011 at 2:52 PM, Tharindu Mathew <[EMAIL PROTECTED]>wrote:

> Thanks for the explanation Arun.
>
> Created a post with the info gathered here, so that it will help someone
> else as well:
>
> http://tharindu-mathew.blogspot.com/2011/08/building-apache-hadoop-from-source.html
>
>
> On Sun, Aug 28, 2011 at 1:32 PM, Arun C Murthy <[EMAIL PROTECTED]>
> wrote:
>
> > Mathew,
> >
> >  The native code, in this context, is the C executable used to launch the
> > containers (tasks) by the NodeManager. The short summary of the
> executable
> > is that it's a setuid executable used to ensure that the unix process
> runs
> > as the actual user who submitted the job, not as the unix user of the
> > NodeManager.
> >
> > Arun
> >
> > On Aug 28, 2011, at 12:51 AM, Tharindu Mathew wrote:
> >
> > > Hi Praveen/Ravi,
> > >
> > > Thanks for all the help. It built successfully.
> > >
> > > I'm trying to get a feel about the project structure, build structure
> and
> > > map reduce. Is there a document I can read to understand about the use
> of
> > > native code and where it fits with the mapreduce project?
> > >
> > > On Fri, Aug 26, 2011 at 10:00 AM, Ravi Teja <[EMAIL PROTECTED]>
> wrote:
> > >
> > >> Hi Tharindu,
> > >>
> > >> I think it is trying to compile the native code. you can add -P-cbuild
> > as
> > >> argument to skip it, as mentioned earlier by Arun.
> > >>
> > >> Regards,
> > >> Ravi Teja
> > >>
> > >>
> > >> Thanks Praveen.
> > >>
> > >> I managed to proceed further. Now I'm stuck at this point. Appreciate
> if
> > >> you
> > >> can tell me what I'm doing wrong.
> > >>
> > >> Stacktrace:
> > >>
> > >> [INFO] --- make-maven-plugin:1.0-beta-1:configure (make) @
> > >> hadoop-yarn-server-nodemanager ---
> > >> [INFO] checking for a BSD-compatible install... /usr/bin/install -c
> > >> [INFO] checking whether build environment is sane... yes
> > >> [INFO] checking for a thread-safe mkdir -p... ./install-sh -c -d
> > >> [INFO] checking for gawk... no
> > >> [INFO] checking for mawk... no
> > >> [INFO] checking for nawk... no
> > >> [INFO] checking for awk... awk
> > >> [INFO] checking whether make sets $(MAKE)... yes
> > >> [INFO] ./configure: line 2226: CHECK_INSTALL_CFLAG: command not found
> > >> [INFO] ./configure: line 2227: HADOOP_UTILS_SETUP: command not found
> > >> [INFO] checking for gcc... gcc
> > >> [INFO] checking for C compiler default output file name... a.out
> > >> [INFO] checking whether the C compiler works... yes
> > >> [INFO] checking whether we are cross compiling... no
> > >> [INFO] checking for suffix of executables...
> > >> [INFO] checking for suffix of object files... o
> > >> [INFO] checking whether we are using the GNU C compiler... yes
> > >> [INFO] checking whether gcc accepts -g... yes
> > >> [INFO] checking for gcc option to accept ISO C89... none needed
> > >> [INFO] checking for style of include used by make... GNU
> > >> [INFO] checking dependency style of gcc... gcc3
> > >> [INFO] checking whether gcc and cc understand -c and -o together...
> yes
> > >> [INFO] checking how to run the C preprocessor... gcc -E
> > >> [INFO] checking for grep that handles long lines and -e...
> /usr/bin/grep
> > >> [INFO] checking for egrep... /usr/bin/grep -E
> > >> [INFO] checking for ANSI C header files... yes
> > >> [INFO] checking for sys/types.h... yes
> > >> [INFO] checking for sys/stat.h... yes
> > >> [INFO] checking for stdlib.h... yes
> > >> [INFO] checking for string.h... yes
> > >> [INFO] checking for memory.h... yes
> > >> [INFO] checking for strings.h... yes
> > >> [INFO] checking for inttypes.h... yes
> > >> [INFO] checking for stdint.h... yes
> > >> [INFO] checking for unistd.h... yes
> > >> [INFO] checking for unistd.h... (cached) yes
> > >> [INFO] checking for stdbool.h that conforms to C99... yes
> > >> [INFO] checking for _Bool... yes