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

Switch to Plain View
MapReduce, mail # user - native not compiling in OS X Mountain Lion


+
J Mohamed Zahoor 2012-08-13, 05:49
+
Brandon Li 2012-08-13, 16:38
+
J Mohamed Zahoor 2012-08-13, 09:59
Copy link to this message
-
Re: Native not compiling in OS X Mountain Lion
Alejandro Abdelnur 2012-08-13, 16:19
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
+
Colin McCabe 2012-08-13, 20:37
+
jmozah 2012-08-14, 19:15