HADOOP-9329. document native build dependencies in BUILDING.txt (Vijay Bhat via Colin P. McCabe)
(cherry picked from commit bf6295bed8
)
This commit is contained in:
parent
219eb22c15
commit
b02f77540c
38
BUILDING.txt
38
BUILDING.txt
|
@ -10,9 +10,44 @@ Requirements:
|
||||||
* ProtocolBuffer 2.5.0
|
* ProtocolBuffer 2.5.0
|
||||||
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac
|
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac
|
||||||
* Zlib devel (if compiling native code)
|
* Zlib devel (if compiling native code)
|
||||||
* openssl devel ( if compiling native hadoop-pipes )
|
* 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)
|
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------------
|
||||||
|
Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
|
||||||
|
|
||||||
|
* Oracle JDK 1.7 (preferred)
|
||||||
|
$ sudo apt-get purge openjdk*
|
||||||
|
$ sudo apt-get install software-properties-common
|
||||||
|
$ sudo add-apt-repository ppa:webupd8team/java
|
||||||
|
$ sudo apt-get update
|
||||||
|
$ sudo apt-get install oracle-java7-installer
|
||||||
|
* Maven
|
||||||
|
$ sudo apt-get -y install maven
|
||||||
|
* Native libraries
|
||||||
|
$ sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev
|
||||||
|
* ProtocolBuffer 2.5.0
|
||||||
|
$ wget https://protobuf.googlecode.com/svn/rc/protobuf-2.5.0.tar.gz
|
||||||
|
$ tar -zxvf protobuf-2.5.0.tar.gz
|
||||||
|
$ cd protobuf-2.5.0.tar.gz
|
||||||
|
$ ./configure
|
||||||
|
$ make
|
||||||
|
$ sudo make install
|
||||||
|
$ sudo ldconfig
|
||||||
|
|
||||||
|
Optional packages:
|
||||||
|
|
||||||
|
* Snappy compression
|
||||||
|
$ sudo apt-get install snappy libsnappy-dev
|
||||||
|
* Bzip2
|
||||||
|
$ sudo apt-get install bzip2 libbz2-dev
|
||||||
|
* Jansson (C Library for JSON)
|
||||||
|
$ sudo apt-get install libjansson-dev
|
||||||
|
* Linux FUSE
|
||||||
|
$ sudo apt-get install fuse libfuse-dev
|
||||||
|
|
||||||
----------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------
|
||||||
Maven main modules:
|
Maven main modules:
|
||||||
|
|
||||||
|
@ -278,4 +313,3 @@ http://www.zlib.net/
|
||||||
Building distributions:
|
Building distributions:
|
||||||
|
|
||||||
* Build distribution with native code : mvn package [-Pdist][-Pdocs][-Psrc][-Dtar]
|
* Build distribution with native code : mvn package [-Pdist][-Pdocs][-Psrc][-Dtar]
|
||||||
|
|
||||||
|
|
|
@ -268,6 +268,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HADOOP-8059. Add javadoc to InterfaceAudience and InterfaceStability.
|
HADOOP-8059. Add javadoc to InterfaceAudience and InterfaceStability.
|
||||||
(Brandon Li via suresh)
|
(Brandon Li via suresh)
|
||||||
|
|
||||||
|
HADOOP-9329. document native build dependencies in BUILDING.txt (Vijay Bhat
|
||||||
|
via Colin P. McCabe)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||||
|
|
Loading…
Reference in New Issue