zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject incubator-zeppelin git commit: ZEPPELIN-455 Improve build instruction
Date Tue, 24 Nov 2015 08:01:21 GMT
Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 6cfb32e5f -> 26b5a3be1


ZEPPELIN-455 Improve build instruction

This PR improves build instruction in README.md
https://issues.apache.org/jira/browse/ZEPPELIN-455

Author: Lee moon soo <moon@apache.org>

Closes #459 from Leemoonsoo/ZEPPELIN-455 and squashes the following commits:

777599d [Lee moon soo] Improve build instruction


Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/26b5a3be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/26b5a3be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/26b5a3be

Branch: refs/heads/master
Commit: 26b5a3be15fc00549fdae1b4b9f76ae483ce1150
Parents: 6cfb32e
Author: Lee moon soo <moon@apache.org>
Authored: Sun Nov 22 16:14:14 2015 +0900
Committer: Lee moon soo <moon@apache.org>
Committed: Tue Nov 24 17:02:01 2015 +0900

----------------------------------------------------------------------
 README.md | 156 ++++++++++++++++++++++++---------------------------------
 1 file changed, 66 insertions(+), 90 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/26b5a3be/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index a3891d3..bd2a04c 100644
--- a/README.md
+++ b/README.md
@@ -49,134 +49,110 @@ _Notes:_
 If you want to build Zeppelin from the source, please first clone this repository, then:
 
 ```
-mvn clean package -DskipTests
+mvn clean package -DskipTests [Options]
 ```
 
-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:
+Each Interpreter requires different Options.
 
-```
--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]
-```
 
-Currently, final/full distributions run with:
+#### Spark Interpreter
 
-```
-mvn clean package -Pspark-1.5 -Phadoop-2.4 -Pyarn -Ppyspark
-```
+To build with a specific Spark version, Hadoop version or specific features, define one or
more of the following profiles and options:
 
-Spark 1.5.x
+##### -Pspark-[version]
 
-```
-mvn clean package -Pspark-1.5 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests
-```
-Spark 1.4.x
+Set spark major version
 
-```
-mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests
-```
-Spark 1.3.x
+Available profiles are
 
 ```
-mvn clean package -Pspark-1.3 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests
+-Pspark-1.5
+-Pspark-1.4
+-Pspark-1.3
+-Pspark-1.2
+-Pspark-1.1
+-Pcassandra-spark-1.5
+-Pcassandra-spark-1.4
+-Pcassandra-spark-1.3
+-Pcassandra-spark-1.2
+-Pcassandra-spark-1.1
 ```
-Spark 1.2.x
 
-```
-mvn clean package -Pspark-1.2 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests 
-```
-Spark 1.1.x
+minor version can be adjusted by `-Dspark.version=x.x.x`
 
-```
-mvn clean package -Pspark-1.1 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests 
-```
-CDH 5.X
+
+##### -Phadoop-[version]
+
+set hadoop major version
+
+Available profiles are
 
 ```
-mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.0 -Phadoop-2.4 -DskipTests
+-Phadoop-0.23
+-Phadoop-1
+-Phadoop-2.2
+-Phadoop-2.3
+-Phadoop-2.4
+-Phadoop-2.6
 ```
+
+minor version can be adjusted by `-Dhadoop.version=x.x.x`
+
+##### -Pyarn (optional)
+
+enable YARN support for local mode
+
+
+##### -Ppyspark (optional)
+
+enable PySpark support for local mode
+
+
+##### -Pvendor-repo (optional)
+
+enable 3rd party vendor repository (cloudera)
+
+
+##### -Pmapr[version] (optional)
+
 For the MapR Hadoop Distribution, these profiles will handle the Hadoop version. As MapR
allows different versions
 of Spark to be installed, you should specify which version of Spark is installed on the cluster
by adding a Spark profile (-Pspark-1.2, -Pspark-1.3, etc.) as needed. For Hive, check the
hive/pom.xml and adjust the version installed as well. The correct Maven
 artifacts can be found for every version of MapR at http://doc.mapr.com
 
-MapR 3.x
-```
-mvn clean package -Pmapr3 -DskipTests
-```
-MapR 4.0.x
-```
-mvn clean package -Pmapr40 -DskipTests
-```
-MapR 4.1
-```
-mvn clean package -Pmapr41 -DskipTests
-```
-MapR 5.0
-```
-mvn clean package -Pmapr50 -DskipTests
-```
-Yarn (Hadoop 2.7.x)
-
-```
-mvn clean package -Pspark-1.4 -Dspark.version=1.4.1 -Dhadoop.version=2.7.0 -Phadoop-2.6 -Pyarn
-DskipTests
-```
-Yarn (Hadoop 2.6.x)
+Available profiles are
 
 ```
-mvn clean package -Pspark-1.1 -Dhadoop.version=2.6.0 -Phadoop-2.6 -Pyarn -DskipTests
+-Pmapr3
+-Pmapr40
+-Pmapr41
+-Pmapr50
 ```
-Yarn (Hadoop 2.4.x)
 
-```
-mvn clean package -Pspark-1.1 -Dhadoop.version=2.4.0 -Phadoop-2.4 -Pyarn -DskipTests
-```
-Yarn (Hadoop 2.3.x)
 
-```
-mvn clean package -Pspark-1.1 -Dhadoop.version=2.3.0 -Phadoop-2.3 -Pyarn -DskipTests
-```
-Yarn (Hadoop 2.2.x)
+Here're some examples:
 
 ```
-mvn clean package -Pspark-1.1 -Dhadoop.version=2.2.0 -Phadoop-2.2 -Pyarn -DskipTests
-```
-
-Ignite (1.1.0-incubating and later)
+# basic build
+mvn clean package -Pspark-1.5 -Phadoop-2.4 -Pyarn -Ppyspark
 
-```
-mvn clean package -Dignite.version=1.1.0-incubating -DskipTests
-```
+# spark-cassandra integration
+mvn clean package -Pcassandra-spark-1.5 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
 
-Spark-Cassandra integration (Spark 1.1.x)
-```
-mvn clean package -Pcassandra-spark-1.1 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
-```
+# with CDH
+mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.0 -Phadoop-2.4 -Pvendor-repo
-DskipTests
 
-Spark-Cassandra integration (Spark 1.2.x)
-```
-mvn clean package -Pcassandra-spark-1.2 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
+# with MapR
+mvn clean package -Pspark-1.5 -Pmapr50 -DskipTests
 ```
 
-Spark-Cassandra integration (Spark 1.3.x)
-```
-mvn clean package -Pcassandra-spark-1.3 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
-```
 
-Spark-Cassandra integration (Spark 1.4.x)
-```
-mvn clean package -Pcassandra-spark-1.4 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
-```
+#### Ignite Interpreter
 
-Spark-Cassandra integration (Spark 1.5.x)
 ```
-mvn clean package -Pcassandra-spark-1.5 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
+mvn clean package -Dignite.version=1.1.0-incubating -DskipTests
 ```
 
 
-
 ### Configure
 If you wish to configure Zeppelin option (like port number), configure the following files:
 


Mime
View raw message