编译hadoop 2.4.1 源代码以及 libhadoop.so.1.0.0文件

本文档详细介绍了如何从源代码编译Hadoop 2.4.1,包括安装开发者工具、依赖项、编译过程、验证libhadoop.so.1.0.0文件的版本。针对Ubuntu和RedHat环境提供了编译指南,并解决了因停电导致的编译问题。
摘要由CSDN通过智能技术生成

由于编译到一半突然停电了,导致重新编译一直出错,

http://lucene.472066.n3.nabble.com/Unable-to-load-native-hadoop-library-for-your-platform-td4117072.html

You can build your own distribution that includes native libraries using the following steps:

1) Install developer tools and dependencies:
1a) From repositories:

apt-get install gcc g++ make maven cmake zlib zlib1g-dev

for RedHat environments, you can probably use a similar yum line:

yum install gcc g++ make maven cmake zlib zlib-devel

There may be some other dependencies or slightly different package names depending on what you already have installed and what OS you are running. If so, some google-able errors will pop up during the rest of the process.

1b) Protocol Buffers F
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值