Skip to content

Commit

Permalink
expanded build instructions to include pyspark, and clarified maven a…
Browse files Browse the repository at this point in the history
…nd node.js requirements
  • Loading branch information
jeffsteinmetz committed Nov 8, 2015
1 parent 9617c01 commit 1015f86
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,29 @@ sudo apt-get install libfontconfig
```

_Note:_
Ensure node is installed by running `node --version`
Ensure maven is running version 3.1.x or higher with `mvn -version`
- Ensure node is installed by running `node --version`
- Ensure maven is running version 3.1.x or higher with `mvn -version`

### Build
If you want to build Zeppelin from the source, please first clone this repository. And then:
If you want to build Zeppelin from the source, please first clone this repository, then:

```
mvn clean package -DskipTests
```

To build with a specific Spark version, Hadoop version or specific features, define one or more of the `spark`, `pyspark`, `hadoop` and `yarn` profiles, such as:

-Pspark-1.5 [Version to run in local spark mode]
-Ppyspark [optional: enable PYTHON support in spark via the %pyspark interpreter]
-Pyarn [optional: enable YARN support]
-Dhadoop.version=2.2.0 [hadoop distribution]
-Phadoop-2.2 [hadoop version]
-Pspark-1.5 [Version to run in local spark mode]
-Ppyspark [optional: enable PYTHON support in spark via the %pyspark interpreter]
-Pyarn [optional: enable YARN support]
-Dhadoop.version=2.2.0 [hadoop distribution]
-Phadoop-2.2 [hadoop version]

The current default build command runs as:
Currently, final/full distributions run with:

```
mvn clean package -Pspark-1.5 -Phadoop-2.4 -Pyarn -Ppyspark
```

Spark 1.5.x

Expand Down

0 comments on commit 1015f86

Please sign in to comment.