Skip to content

Commit

Permalink
refine readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwenlau committed May 28, 2016
1 parent ec458e7 commit 5a15d81
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##Compile Hadoop in Docker container

To comile [Hadoop](http://archive.apache.org/dist/hadoop/core/), just run with your prefered VERSION
####To comile [Hadoop](http://archive.apache.org/dist/hadoop/core/), just run with your prefered VERSION

```
sudo ./run.sh [VERSION]
Expand All @@ -12,10 +12,18 @@ For example, to compile Hadoop 2.3.0:
sudo ./run.sh 2.3.0
```

The **run.sh** script will:

####The **run.sh** script will:

1. Build **kiwenlau/compile-hadoop** image

2. Start a container, **compile.sh** will execute within the container to compile Hadoop.

3. You will get compiled Hadoop in **compile-hadoop/binary** directory
3. You will get compiled Hadoop in **compile-hadoop/binary** directory


####To download compiled Hadoop:

```
wget wget https://github.com/kiwenlau/compile-hadoop/releases/download/2.3.0/hadoop-2.3.0.tar.gz
```

0 comments on commit 5a15d81

Please sign in to comment.