java - How to build native library for Hadoop 2 -


i've setup cluster running hadoop 2.1 beta on 64 bit linux. however, each time run hadoop command tools, warning message pops out:

warn util.nativecodeloader: unable load native-hadoop library  platform... using builtin-java classes applicable 

then found out lacking native library the 64 bit linux. official hadoop 2.1 tarball provides native library 32 bit linux in /lib/native folder.

and read official document hadoop native library, guide says:

once installed prerequisite packages use standard hadoop  build.xml file , pass along compile.native flag (set true)  build native hadoop library:  $ant -dcompile.native=true <target> 

i search hadoop folder, there no file named build.xml. haven't enough knowledge of java programming , hadoop, want know how can compile native library 64 bit linux system? thanks.

the build system has changed maven. can find instructions building here: https://svn.apache.org/repos/asf/hadoop/common/trunk/building.txt

specifically, can run this: mvn package -pdist,native,docs -dskiptests -dtar

(once you've install protobuf 2.5.0)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -