You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2015/03/26 12:03:07 UTC

incubator-zeppelin git commit: minor doc update for running on YARN

Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 62fa06a23 -> 4b6c289b4


minor doc update for running on YARN

Include info on SPARK_YARN_JAR can be HDFS

Author: Felix Cheung <fe...@hotmail.com>

Closes #2 from felixcheung/master and squashes the following commits:

7a30a14 [Felix Cheung] minor doc update for running on YARN


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

Branch: refs/heads/master
Commit: 4b6c289b48be168c6dbf678371115f8c3f17778b
Parents: 62fa06a
Author: Felix Cheung <fe...@hotmail.com>
Authored: Wed Mar 25 11:15:53 2015 -0700
Committer: Lee moon soo <mo...@apache.org>
Committed: Thu Mar 26 20:02:56 2015 +0900

----------------------------------------------------------------------
 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/4b6c289b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 4ae8499..71dc928 100644
--- a/README.md
+++ b/README.md
@@ -85,10 +85,11 @@ If you set `SPARK_HOME`, you should deploy spark binary on the same location to
 Yarn
 
     # ./conf/zeppelin-env.sh
-    export export SPARK_YARN_JAR=/path/to/spark-assembly-*.jar
+    export SPARK_YARN_JAR=/path/to/spark-assembly-*.jar
     export HADOOP_CONF_DIR=/path/to/hadoop_conf_dir
 
-`SPARK_YARN_JAR` is deployed for running executor. `HADOOP_CONF_DIR` should contains yarn-site.xml and core-site.xml. 
+`SPARK_YARN_JAR` is deployed for running executor, this could be a local path or HDFS. HDFS allows YARN to cache it on nodes so that it doesn't need to be distributed each time an application runs. To point to a jar on HDFS, for example, set this configuration to "hdfs:///some/path".  
+`HADOOP_CONF_DIR` should contains yarn-site.xml and core-site.xml.
 
 ### Run
     ./bin/zeppelin-daemon.sh start