HADOOP-12575. Add build instruction for docker toolbox instead of boot2docker. Contributed by Kai Sasaki.

(cherry picked from commit 25e82b4eb9)
This commit is contained in:
Tsuyoshi Ozawa 2015-11-19 17:44:10 +09:00
parent c5fb02ba25
commit aa792b7d0c
2 changed files with 8 additions and 5 deletions

View File

@ -26,11 +26,11 @@ On Linux:
$ ./start-build-env.sh
On Mac:
First make sure Homebrew has been installed ( http://brew.sh/ )
$ brew install docker boot2docker
$ boot2docker init -m 4096
$ boot2docker start
$ $(boot2docker shellinit)
First make sure Virtualbox and docker toolbox are installed.
You can use docker toolbox as described in http://docs.docker.com/mac/step_one/.
$ docker-machine create --driver virtualbox \
--virtualbox-memory "4096" hadoopdev
$ eval $(docker-machine env hadoopdev)
$ ./start-build-env.sh
The prompt which is then presented is located at a mounted version of the source tree

View File

@ -338,6 +338,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12582. Using BytesWritable's getLength() and getBytes() instead
of get() and getSize(). (Akira AJISAKA via ozawa)
HADOOP-12575. Add build instruction for docker toolbox instead of
boot2docker(Kai Sasaki via ozawa)
OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp