linux安装hadoop笔记

本文详细描述了如何从官方下载Hadoop源代码,包括所需的依赖如JDK1.7、Maven3.0、Findbugs等,并指导用户在Unix系统中进行64位打包编译,涉及CMake、Zlib、OpenSSL、Jansson等相关库的安装过程。
摘要由CSDN通过智能技术生成

从官方下载hadoop的src,然后重新打包编译成64位

打包编译过程,安装软件过程:

more BUILDING.txt 

* Unix System
* JDK 1.7+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0

以下文件安装方式:

yum -y install autoconf automake libtool cmake ncurses-devel openssl-devel lzo-devel zlib-devel gcc gcc-c++


* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac 

CMake的安装:https://cmake.org/
      


* Zlib devel (if compiling native code)

zlib官方网站:
http://www.zlib.net
$cd zlib-1.2.3.tar.gz
$./configure
$make
$sudo make install


* openssl devel ( if compiling native hadoop-pipes and to get the best HDFS encryption performance )
* Jansson C XML parsing library ( if compiling libwebhdfs )
* Linux FUSE (Filesystem in Userspace) version 2.6 or above ( if compiling fuse_dfs )
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值