You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by ah...@apache.org on 2016/11/16 14:36:43 UTC

svn commit: r1769992 - /zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html

Author: ahyoungryu
Date: Wed Nov 16 14:36:42 2016
New Revision: 1769992

URL: http://svn.apache.org/viewvc?rev=1769992&view=rev
Log: (empty)

Modified:
    zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html

Modified: zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html?rev=1769992&r1=1769991&r2=1769992&view=diff
==============================================================================
--- zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html (original)
+++ zeppelin/site/docs/0.7.0-SNAPSHOT/install/spark_cluster_mode.html Wed Nov 16 14:36:42 2016
@@ -216,7 +216,7 @@ So <a href="https://docs.docker.com/engi
 <h2>Spark standalone mode</h2>
 
 <p><a href="http://spark.apache.org/docs/latest/spark-standalone.html">Spark standalone</a> is a simple cluster manager included with Spark that makes it easy to set up a cluster.
-You can simply set up Spark standalone environment with below steps. </p>
+You can simply set up Spark standalone environment with below steps.</p>
 
 <blockquote>
 <p><strong>Note :</strong> Since Apache Zeppelin and Spark use same <code>8080</code> port for their web UI, you might need to change <code>zeppelin.server.port</code> in <code>conf/zeppelin-site.xml</code>.</p>
@@ -236,8 +236,10 @@ docker build -t &quot;spark_standalone&q
 -p 8081:8081 \
 -h sparkmaster \
 --name spark_standalone \
-spark_standalone bash; 
+spark_standalone bash;
 </code></pre></div>
+<p>Note that <code>sparkmaster</code> hostname used here to run docker container should be defined in your <code>/etc/hosts</code>.</p>
+
 <h3>3. Configure Spark interpreter in Zeppelin</h3>
 
 <p>Set Spark master as <code>spark://&lt;hostname&gt;:7077</code> in Zeppelin <strong>Interpreters</strong> setting page.</p>
@@ -264,7 +266,7 @@ spark_standalone bash;
 <h3>1. Build Docker file</h3>
 
 <p>You can find docker script files under <code>scripts/docker/spark-cluster-managers</code>.</p>
-<div class="highlight"><pre><code class="text language-text" data-lang="text">cd $ZEPPELIN_HOME/scripts/docker/spark-cluster-managers/spark_yarn
+<div class="highlight"><pre><code class="text language-text" data-lang="text">cd $ZEPPELIN_HOME/scripts/docker/spark-cluster-managers/spark_yarn_cluster
 docker build -t &quot;spark_yarn&quot; .
 </code></pre></div>
 <h3>2. Run docker</h3>
@@ -290,6 +292,8 @@ docker build -t &quot;spark_yarn&quot; .
  -h sparkmaster \
  spark_yarn bash;
 </code></pre></div>
+<p>Note that <code>sparkmaster</code> hostname used here to run docker container should be defined in your <code>/etc/hosts</code>.</p>
+
 <h3>3. Verify running Spark on YARN.</h3>
 
 <p>You can simply verify the processes of Spark and YARN are running well in Docker with below command.</p>
@@ -338,6 +342,8 @@ docker build -t &quot;spark_mesos&quot;
 --name spark_mesos \
 spark_mesos bash;
 </code></pre></div>
+<p>Note that <code>sparkmaster</code> hostname used here to run docker container should be defined in your <code>/etc/hosts</code>.</p>
+
 <h3>3. Verify running Spark on Mesos.</h3>
 
 <p>You can simply verify the processes of Spark and Mesos are running well in Docker with below command.</p>