hadoop 64 native库问题解决方式

本文详细介绍了在Unix环境下配置Hadoop native库的步骤,包括安装JDK 1.6+、Maven 3.0+、Findbugs 1.3.9、ProtocolBuffer 2.5.0和CMake 2.6+。重点讲解了如何下载、编译和安装这些依赖,以及如何使用mvn package命令编译Hadoop并解决找不到native库的警告。确保在.bash_profile中设置正确的环境变量,以避免NativeCodeLoader警告。
摘要由CSDN通过智能技术生成

需要的环境

Unix

JDK 1.6+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer (if compiling native code)

yum install lzo-devel zlib-devel gcc autoconf automake libtool ncurses-devel openssl-deve
下载hadoop源码


findbug 

wget http://prdownloads.sourceforge.net/findbugs/findbugs-2.0.3.tar.gz?download

tar -xvf findbug-2.0.3.tar.gz

vi $HOME/.bash_profile

增加以下内容

export FINDBUGS_HOME=/usr/local/findbugs-2.0.3

PATH=$

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值