Hi I fixed some of the errors.. then before proceeding i though i would confirm this with others. I can give this a try.
./Zahoor http://blog.zahoor.in On 14-Aug-2012, at 2:07 AM, Colin McCabe <[email protected]> wrote: > There hasn't been a lot of demand for Hadoop clusters running on MacOS > X, so in general the native build does not work on that platform. > However, the java build should work fine, of course. > > We'd be happy to accept patches allowing libhdfs.so to build on MacOS > X. Unfortunately I don't own a Mac so I can't really test them, but > there may be others who can. > > cheers, > Colin > > > On Mon, Aug 13, 2012 at 9:19 AM, Alejandro Abdelnur <[email protected]> wrote: >> Mohamed, >> >> Currently Hadoop native code does not compile/run in any flavor of OS X. >> >> Thanks. >> >> Alejandro >> >> On Mon, Aug 13, 2012 at 2:59 AM, J Mohamed Zahoor <[email protected]> wrote: >>> >>> >>> >>> Hi >>> >>> I have problems compiling native's in OS X 10.8 for trunk. Especially in >>> Yarn projects. >>> Anyone faced similar problems? >>> >>> [exec] /usr/bin/gcc -g -Wall -O2 -D_GNU_SOURCE -D_REENTRANT >>> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src >>> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native >>> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor >>> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl >>> -o >>> CMakeFiles/container-executor.dir/main/native/container-executor/impl/main.c.o >>> -c >>> /Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c >>> [exec] Undefined symbols for architecture x86_64: >>> [exec] "_fcloseall", referenced from: >>> [exec] _launch_container_as_user in >>> libcontainer.a(container-executor.c.o) >>> [exec] "_mkdirat", referenced from: >>> [exec] _mkdirs in libcontainer.a(container-executor.c.o) >>> [exec] "_openat", referenced from: >>> [exec] _mkdirs in libcontainer.a(container-executor.c.o) >>> [exec] ld: symbol(s) not found for architecture x86_64 >>> [exec] collect2: ld returned 1 exit status >>> [exec] make[2]: *** [target/usr/local/bin/container-executor] Error 1 >>> [exec] make[1]: *** [CMakeFiles/container-executor.dir/all] Error 2 >>> [exec] make: *** [all] Error 2 >>> >>> >>> ./Zahoor >>> >> >> >> >> -- >> Alejandro
