HADOOP-12274. Remove direct download link from BULIDING.txt. Contributed by Caleb Severn.

This commit is contained in:
Akira Ajisaka 2015-08-05 17:45:55 +09:00
parent d5403747b5
commit 52f3525586
2 changed files with 20 additions and 17 deletions

View File

@ -10,9 +10,9 @@ 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 and to get the best HDFS encryption performance ) * openssl devel (if compiling native hadoop-pipes and to get the best HDFS encryption performance)
* Jansson C XML parsing library ( if compiling libwebhdfs ) * Jansson C XML parsing library (if compiling libwebhdfs)
* Linux FUSE (Filesystem in Userspace) version 2.6 or above ( if compiling fuse_dfs ) * 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)
* python (for releasedocs) * python (for releasedocs)
* bats (for shell code testing) * bats (for shell code testing)
@ -20,7 +20,7 @@ Requirements:
---------------------------------------------------------------------------------- ----------------------------------------------------------------------------------
The easiest way to get an environment with all the appropriate tools is by means The easiest way to get an environment with all the appropriate tools is by means
of the provided Docker config. of the provided Docker config.
This requires a recent version of docker ( 1.4.1 and higher are known to work ). This requires a recent version of docker (1.4.1 and higher are known to work).
On Linux: On Linux:
Install Docker and run this command: Install Docker and run this command:
@ -51,8 +51,8 @@ Known issues:
This issue has been resolved as a duplicate, and they point to a new feature for utilizing NFS mounts This issue has been resolved as a duplicate, and they point to a new feature for utilizing NFS mounts
as the proposed solution: as the proposed solution:
https://github.com/boot2docker/boot2docker/issues/64 https://github.com/boot2docker/boot2docker/issues/64
An alternative solution to this problem is when you install Linux native inside a virtual machine An alternative solution to this problem is to install Linux native inside a virtual machine
and run your IDE and Docker etc in side that VM. and run your IDE and Docker etc inside that VM.
---------------------------------------------------------------------------------- ----------------------------------------------------------------------------------
Installing required packages for clean install of Ubuntu 14.04 LTS Desktop: Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
@ -257,7 +257,7 @@ Handling out of memory errors in builds
---------------------------------------------------------------------------------- ----------------------------------------------------------------------------------
If the build process fails with an out of memory error, you should be able to fix If the build process fails with an out of memory error, you should be able to fix
it by increasing the memory used by maven -which can be done via the environment it by increasing the memory used by maven which can be done via the environment
variable MAVEN_OPTS. variable MAVEN_OPTS.
Here is an example setting to allocate between 256 and 512 MB of heap space to Here is an example setting to allocate between 256 and 512 MB of heap space to
@ -287,7 +287,7 @@ Requirements:
* Python ( for generation of docs using 'mvn site') * Python ( for generation of docs using 'mvn site')
Unix command-line tools are also included with the Windows Git package which Unix command-line tools are also included with the Windows Git package which
can be downloaded from http://git-scm.com/download/win. can be downloaded from http://git-scm.com/downloads
If using Visual Studio, it must be Visual Studio 2010 Professional (not 2012). If using Visual Studio, it must be Visual Studio 2010 Professional (not 2012).
Do not use Visual Studio Express. It does not support compiling for 64-bit, Do not use Visual Studio Express. It does not support compiling for 64-bit,
@ -306,19 +306,19 @@ Cygwin is neither required nor supported.
Building: Building:
Keep the source code tree in a short path to avoid running into problems related Keep the source code tree in a short path to avoid running into problems related
to Windows maximum path length limitation. (For example, C:\hdc). to Windows maximum path length limitation (for example, C:\hdc).
Run builds from a Windows SDK Command Prompt. (Start, All Programs, Run builds from a Windows SDK Command Prompt. (Start, All Programs,
Microsoft Windows SDK v7.1, Windows SDK 7.1 Command Prompt.) Microsoft Windows SDK v7.1, Windows SDK 7.1 Command Prompt).
JAVA_HOME must be set, and the path must not contain spaces. If the full path JAVA_HOME must be set, and the path must not contain spaces. If the full path
would contain spaces, then use the Windows short path instead. would contain spaces, then use the Windows short path instead.
You must set the Platform environment variable to either x64 or Win32 depending You must set the Platform environment variable to either x64 or Win32 depending
on whether you're running a 64-bit or 32-bit system. Note that this is on whether you're running a 64-bit or 32-bit system. Note that this is
case-sensitive. It must be "Platform", not "PLATFORM" or "platform". case-sensitive. It must be "Platform", not "PLATFORM" or "platform".
Environment variables on Windows are usually case-insensitive, but Maven treats Environment variables on Windows are usually case-insensitive, but Maven treats
them as case-sensitive. Failure to set this environment variable correctly will them as case-sensitive. Failure to set this environment variable correctly will
cause msbuild to fail while building the native code in hadoop-common. cause msbuild to fail while building the native code in hadoop-common.
set Platform=x64 (when building on a 64-bit system) set Platform=x64 (when building on a 64-bit system)
@ -333,12 +333,12 @@ is enabled by default when building on Windows since the native components
are required (not optional) on Windows. are required (not optional) on Windows.
If native code bindings for zlib are required, then the zlib headers must be If native code bindings for zlib are required, then the zlib headers must be
deployed on the build machine. Set the ZLIB_HOME environment variable to the deployed on the build machine. Set the ZLIB_HOME environment variable to the
directory containing the headers. directory containing the headers.
set ZLIB_HOME=C:\zlib-1.2.7 set ZLIB_HOME=C:\zlib-1.2.7
At runtime, zlib1.dll must be accessible on the PATH. Hadoop has been tested At runtime, zlib1.dll must be accessible on the PATH. Hadoop has been tested
with zlib 1.2.7, built using Visual Studio 2010 out of contrib\vstudio\vc10 in with zlib 1.2.7, built using Visual Studio 2010 out of contrib\vstudio\vc10 in
the zlib 1.2.7 source tree. the zlib 1.2.7 source tree.

View File

@ -1044,6 +1044,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12268. AbstractContractAppendTest#testRenameFileBeingAppended HADOOP-12268. AbstractContractAppendTest#testRenameFileBeingAppended
misses rename operation. (Zhihai Xu) misses rename operation. (Zhihai Xu)
HADOOP-12274. Remove direct download link from BULIDING.txt.
(Caleb Severn via aajisaka)
Release 2.7.2 - UNRELEASED Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES