You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/05/04 19:01:47 UTC

incubator-systemml git commit: Fix Zeppelin notebook example

Repository: incubator-systemml
Updated Branches:
  refs/heads/master f9d10cfba -> 731c7a4f1


Fix Zeppelin notebook example

Change Zeppelin example link from tar.gz to note.json file.
Modify instructions to import the Zeppelin note.json.
Fix typo in configuration file path.

Closes #135.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/731c7a4f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/731c7a4f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/731c7a4f

Branch: refs/heads/master
Commit: 731c7a4f101a8f52bd96cf6c2155245926c212db
Parents: f9d10cf
Author: Yifan (Ethan) Xu <et...@us.ibm.com>
Authored: Wed May 4 11:48:07 2016 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Wed May 4 11:48:07 2016 -0700

----------------------------------------------------------------------
 docs/spark-mlcontext-programming-guide.md | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/731c7a4f/docs/spark-mlcontext-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/spark-mlcontext-programming-guide.md b/docs/spark-mlcontext-programming-guide.md
index 1b22fbb..e4fad12 100644
--- a/docs/spark-mlcontext-programming-guide.md
+++ b/docs/spark-mlcontext-programming-guide.md
@@ -521,15 +521,18 @@ Next, we'll consider an example of a SystemML linear regression algorithm run fr
 Instructions to clone and build Zeppelin can be found at the [GitHub Apache Zeppelin](https://github.com/apache/incubator-zeppelin)
 site. This example also will look at the Spark ML linear regression algorithm.
 
-This Zeppelin notebook example can be downloaded [here](files/spark-mlcontext-programming-guide/zeppelin-notebook-linear-regression/2AZ2AQ12B.tar.gz).
-Once downloaded and unzipped, place the folder in the Zeppelin `notebook` directory.
+This Zeppelin notebook example can be imported by choosing `Import note` -> `Add from URL` from the Zeppelin main page, then insert the following URL:
+
+    https://raw.githubusercontent.com/apache/incubator-systemml/master/samples/zeppelin-notebooks/2AZ2AQ12B/note.json
+
+Alternatively download <a href="https://raw.githubusercontent.com/apache/incubator-systemml/master/samples/zeppelin-notebooks/2AZ2AQ12B/note.json" download="note.json">note.json</a>, then import it by choosing `Import note` -> `Choose a JSON here` from the Zeppelin main page.
 
 A `conf/zeppelin-env.sh` file is created based on `conf/zeppelin-env.sh.template`. For
 this demonstration, it features `SPARK_HOME`, `SPARK_SUBMIT_OPTIONS`, and `ZEPPELIN_SPARK_USEHIVECONTEXT`
 environment variables:
 
 	export SPARK_HOME=/Users/example/spark-1.5.1-bin-hadoop2.6
-	export SPARK_SUBMIT_OPTIONS="--jars $/Users/example/systemml/system-ml/target/SystemML.jar"
+	export SPARK_SUBMIT_OPTIONS="--jars /Users/example/systemml/system-ml/target/SystemML.jar"
 	export ZEPPELIN_SPARK_USEHIVECONTEXT=false
 
 Start Zeppelin using the `zeppelin.sh` script: