Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> native not compiling in OS X Mountain Lion


Copy link to this message
-
Re: Native not compiling in OS X Mountain Lion
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB