文件名称:在linux中编译64位的 hadoop 2.4.1native
文件大小:851KB
文件格式:RAR
更新时间:2017-11-17 04:02:39
hadoop2.4.1 x64
1.已经编译好的 hadoop2.4.1 x64 用法:将hadoop-2.4.1/lib/native下所有文件删除,然后将包中的文件放入 2.自己安装搜索“编译64位的hadoop 2.4.1”参考:http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/NativeLibraries.html The native hadoop library is written in ANSI C and is built using the GNU autotools-chain (autoconf, autoheader, automake, autoscan, libtool). This means it should be straight-forward to build the library on any platform with a standards-compliant C compiler and the GNU autotools-chain (see the supported platforms). The packages you need to install on the target platform are: C compiler (e.g. GNU C Compiler) GNU Autools Chain: autoconf, automake, libtool zlib-development package (stable version >= 1.2.0) Once you installed the prerequisite packages use the standard hadoop pom.xml file and pass along the native flag to build the native hadoop library: $ mvn package -Pdist,native -Dskiptests -Dtar You should see the newly-built library in: $ hadoop-dist/target/hadoop-2.3.0/lib/native 编译需要用到的插件比较多,所有方便还是下载我的吧!
【文件预览】:
native_hadoop2.4.1_x64
----libhadoop.a(949KB)
----libhadoop.so.1.0.0(571KB)
----libhdfs.so(195KB)
----libhadooppipes.a(1.42MB)
----libhadooputils.a(568KB)
----libhdfs.a(291KB)
----libhadoop.so(571KB)
----libhdfs.so.0.0.0(195KB)