mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
update build doc for spark 2.1
This commit is contained in:
parent
5efdb11592
commit
34772e0baf
2 changed files with 5 additions and 1 deletions
|
|
@ -97,6 +97,7 @@ Set spark major version
|
|||
Available profiles are
|
||||
|
||||
```
|
||||
-Pspark-2.1
|
||||
-Pspark-2.0
|
||||
-Pspark-1.6
|
||||
-Pspark-1.5
|
||||
|
|
@ -185,6 +186,10 @@ Bulid examples under zeppelin-examples directory
|
|||
Here are some examples with several options:
|
||||
|
||||
```bash
|
||||
# build with spark-2.1, scala-2.11
|
||||
./dev/change_scala_version.sh 2.11
|
||||
mvn clean package -Pspark-2.1 -Phadoop-2.4 -Pyarn -Ppyspark -Psparkr -Pscala-2.11 -DskipTests
|
||||
|
||||
# build with spark-2.0, scala-2.11
|
||||
./dev/change_scala_version.sh 2.11
|
||||
mvn clean package -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark -Psparkr -Pscala-2.11 -DskipTests
|
||||
|
|
|
|||
|
|
@ -1498,7 +1498,6 @@ public class SparkInterpreter extends Interpreter {
|
|||
.getConstructor(new Class[]{ SparkConf.class, scala.Option.class });
|
||||
securityManager = smConstructor.newInstance(conf, null);
|
||||
} catch (NoSuchMethodException e) {
|
||||
|
||||
Constructor<?> smConstructor = getClass().getClassLoader()
|
||||
.loadClass("org.apache.spark.SecurityManager")
|
||||
.getConstructor(new Class[]{ SparkConf.class });
|
||||
|
|
|
|||
Loading…
Reference in a new issue