You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by ku...@apache.org on 2017/06/30 01:37:55 UTC
svn commit: r1800345 [2/3] - in /zeppelin/site/docs/0.8.0-SNAPSHOT: ./
development/ development/contribution/ development/helium/ interpreter/
quickstart/ setup/basics/ setup/deployment/ setup/operation/
setup/security/ setup/storage/ usage/display_sys...
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/python_with_zeppelin.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/python_with_zeppelin.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/python_with_zeppelin.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/python_with_zeppelin.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/spark_with_zeppelin.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/spark_with_zeppelin.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/spark_with_zeppelin.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/spark_with_zeppelin.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/sql_with_zeppelin.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/sql_with_zeppelin.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/sql_with_zeppelin.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/sql_with_zeppelin.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/tutorial.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/tutorial.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/tutorial.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/quickstart/tutorial.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml Fri Jun 30 01:37:54 2017
@@ -5,8 +5,8 @@
<description>Apache Zeppelin - The Apache Software Foundation</description>
<link>http://zeppelin.apache.org</link>
<link>http://zeppelin.apache.org</link>
- <lastBuildDate>2017-06-29T16:05:00+09:00</lastBuildDate>
- <pubDate>2017-06-29T16:05:00+09:00</pubDate>
+ <lastBuildDate>2017-06-30T10:34:14+09:00</lastBuildDate>
+ <pubDate>2017-06-30T10:34:14+09:00</pubDate>
<ttl>1800</ttl>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/screenshots.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/screenshots.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/screenshots.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/screenshots.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -252,15 +252,15 @@ limitations under the License.
<div class="row">
<div class="col-md-3">
- <a href="assets/themes/zeppelin/img/screenshots/sparksql.png"><img class="thumbnail" src="assets/themes/zeppelin/img/screenshots/sparksql.png" /></a>
+ <a href="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/sparksql.png"><img class="thumbnail" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/sparksql.png" /></a>
<center>Spark SQL with inline visualization</center>
</div>
<div class="col-md-3">
- <a href="assets/themes/zeppelin/img/screenshots/spark.png"><img class="thumbnail" src="assets/themes/zeppelin/img/screenshots/spark.png" /></a>
+ <a href="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/spark.png"><img class="thumbnail" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/spark.png" /></a>
<center>Scala code runs with Spark</center>
</div>
<div class="col-md-3">
- <a href="assets/themes/zeppelin/img/screenshots/markdown.png"><img class="thumbnail" src="assets/themes/zeppelin/img/screenshots/markdown.png" /></a>
+ <a href="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/markdown.png"><img class="thumbnail" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/markdown.png" /></a>
<center>Markdown supported</center>
</div>
</div>
@@ -268,7 +268,7 @@ limitations under the License.
<p><br />
<div class="row">
<div class="col-md-3">
- <a href="assets/themes/zeppelin/img/screenshots/notebook.png"><img class="thumbnail" src="assets/themes/zeppelin/img/screenshots/notebook.png" /></a>
+ <a href="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/notebook.png"><img class="thumbnail" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/notebook.png" /></a>
<center>Notebook</center>
</div>
<div class="col-md-3">
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/search.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/search.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/search.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/search.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json Fri Jun 30 01:37:54 2017
@@ -303,7 +303,7 @@
"/interpreter/pig.html": {
"title": "Pig Interpreter for Apache Zeppelin",
- "content" : "Pig Interpreter for Apache ZeppelinOverviewApache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their structure is amenable to substantial parallelization, which in turns enables them to handle very large data sets.Supported interpreter type%pig.script (default Pig interpreter, so you can use %pig)%pig.script is like the Pig grunt shell. Anything you can run in Pig grunt shell can be run in %pig.script interpreter, it is used for running Pig script where you donât need to visualize the data, it is suitable for data munging. %pig.query%pig.query is a little different compared with %pig.script. It is used for exploratory data analysis via Pig latin where you can leverage Zeppelinâs visualization ability. There&#39;re 2 minor differences in the last statement between %pig
.script and %pig.queryNo pig alias in the last statement in %pig.query (read the examples below).The last statement must be in single line in %pig.querySupported runtime modeLocalMapReduceTez_Local (Only Tez 0.7 is supported)Tez (Only Tez 0.7 is supported)How to useHow to setup PigLocal ModeNothing needs to be done for local modeMapReduce ModeHADOOP_CONF_DIR needs to be specified in ZEPPELIN_HOME/conf/zeppelin-env.sh.Tez Local ModeNothing needs to be done for tez local modeTez ModeHADOOP_CONF_DIR and TEZ_CONF_DIR needs to be specified in ZEPPELIN_HOME/conf/zeppelin-env.sh.How to configure interpreterAt the Interpreters menu, you have to create a new Pig interpreter. Pig interpreter has below properties by default.And you can set any Pig properties here which will be passed to Pig engine. (like tez.queue.name &amp; mapred.job.queue.name).Besides, we use paragraph title as job name if it exists, else use the last line of Pig script. So you can use that to find app running in YARN
RM UI. Property Default Description zeppelin.pig.execType mapreduce Execution mode for pig runtime. local | mapreduce | tez_local | tez zeppelin.pig.includeJobStats false whether display jobStats info in %pig.script zeppelin.pig.maxResult 1000 max row number displayed in %pig.query tez.queue.name default queue name for tez engine mapred.job.queue.name default queue name for mapreduce engine Examplepig%pigbankText = load &#39;bank.csv&#39; using PigStorage(&#39;;&#39;);bank = foreach bankText generate $0 as age, $1 as job, $2 as marital, $3 as education, $5 as balance; bank = filter bank by age != &#39;&quot;age&quot;&#39;;bank = foreach bank generate (int)age, REPLACE(job,&#39;&quot;&#39;,&#39;&#39;) as job, REPLACE(marital, &#39;&quot;&#39;, &am
p;#39;&#39;) as marital, (int)(REPLACE(balance, &#39;&quot;&#39;, &#39;&#39;)) as balance;store bank into &#39;clean_bank.csv&#39; using PigStorage(&#39;;&#39;); -- this statement is optional, it just show you that most of time %pig.script is used for data munging before querying the data. pig.queryGet the number of each age where age is less than 30%pig.querybank_data = filter bank by age &lt; 30;b = group bank_data by age;foreach b generate group, COUNT($1);The same as above, but use dynamic text form so that use can specify the variable maxAge in textbox. (See screenshot below). Dynamic form is a very cool feature of Zeppelin, you can refer this link) for details.%pig.querybank_data = filter bank by age &lt; ${maxAge=40};b = group bank_data by age;foreach b generate group, COUNT($1) as count;Get the number of each age for specific marital type, also use dynamic form here. User can choose the marital type in the dropdown list (see sc
reenshot below).%pig.querybank_data = filter bank by marital==&#39;${marital=single,single|divorced|married}&#39;;b = group bank_data by age;foreach b generate group, COUNT($1) as count;The above examples are in the Pig tutorial note in Zeppelin, you can check that for details. Here&#39;s the screenshot.Data is shared between %pig and %pig.query, so that you can do some common work in %pig, and do different kinds of query based on the data of %pig. Besides, we recommend you to specify alias explicitly so that the visualization can display the column name correctly. In the above example 2 and 3 of %pig.query, we name COUNT($1) as count. If you don&#39;t do this, then we will name it using position. E.g. in the above first example of %pig.query, we will use col_1 in chart to represent COUNT($1).",
+ "content" : "Pig Interpreter for Apache ZeppelinOverviewApache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their structure is amenable to substantial parallelization, which in turns enables them to handle very large data sets.Supported interpreter type%pig.script (default Pig interpreter, so you can use %pig)%pig.script is like the Pig grunt shell. Anything you can run in Pig grunt shell can be run in %pig.script interpreter, it is used for running Pig script where you donât need to visualize the data, it is suitable for data munging. %pig.query%pig.query is a little different compared with %pig.script. It is used for exploratory data analysis via Pig latin where you can leverage Zeppelinâs visualization ability. There&#39;re 2 minor differences in the last statement between %pig
.script and %pig.queryNo pig alias in the last statement in %pig.query (read the examples below).The last statement must be in single line in %pig.queryHow to useHow to setup Pig execution modes.Local ModeSet zeppelin.pig.execType as local.MapReduce ModeSet zeppelin.pig.execType as mapreduce. HADOOP_CONF_DIR needs to be specified in ZEPPELIN_HOME/conf/zeppelin-env.sh.Tez Local ModeOnly Tez 0.7 is supported. Set zeppelin.pig.execType as tez_local.Tez ModeOnly Tez 0.7 is supported. Set zeppelin.pig.execType as tez. HADOOP_CONF_DIR and TEZ_CONF_DIR needs to be specified in ZEPPELIN_HOME/conf/zeppelin-env.sh.Spark Local ModeOnly Spark 1.6.x is supported, by default it is Spark 1.6.3. Set zeppelin.pig.execType as spark_local.Spark ModeOnly Spark 1.6.x is supported, by default it is Spark 1.6.3. Set zeppelin.pig.execType as spark. For now, only yarn-client mode is supported. To enable it, you need to set property SPARK_MASTER to yarn-client and set SPARK_JAR to the spark assembly jar.How
to choose custom Spark VersionBy default, Pig Interpreter would use Spark 1.6.3 built with scala 2.10, if you want to use another spark version or scala version, you need to rebuild Zeppelin by specifying the custom Spark version via -Dpig.spark.version= and scala version via -Dpig.scala.version= in the maven build command.How to configure interpreterAt the Interpreters menu, you have to create a new Pig interpreter. Pig interpreter has below properties by default.And you can set any Pig properties here which will be passed to Pig engine. (like tez.queue.name &amp; mapred.job.queue.name).Besides, we use paragraph title as job name if it exists, else use the last line of Pig script. So you can use that to find app running in YARN RM UI. Property Default Description zeppelin.pig.execType mapreduce Execution mode for pig runtime. local | mapreduce | tez_local | tez | spark_local | spark zeppelin.pig.includeJobSta
ts false whether display jobStats info in %pig.script zeppelin.pig.maxResult 1000 max row number displayed in %pig.query tez.queue.name default queue name for tez engine mapred.job.queue.name default queue name for mapreduce engine SPARK_MASTER local local | yarn-client SPARK_JAR The spark assembly jar, both jar in local or hdfs is supported. Put it on hdfs could have performance benefit Examplepig%pigbankText = load &#39;bank.csv&#39; using PigStorage(&#39;;&#39;);bank = foreach bankText generate $0 as age, $1 as job, $2 as marital, $3 as education, $5 as balance; bank = filter bank by age != &#39;&quot;age&quot;&#39;;bank = foreach bank generate (int)age, REPLACE(job,&#39;&quot;&#39;,&#39;&#39;) as job, REPLACE(marital, &#39;&quot;&#39;, &#39;&a
mp;#39;) as marital, (int)(REPLACE(balance, &#39;&quot;&#39;, &#39;&#39;)) as balance;store bank into &#39;clean_bank.csv&#39; using PigStorage(&#39;;&#39;); -- this statement is optional, it just show you that most of time %pig.script is used for data munging before querying the data. pig.queryGet the number of each age where age is less than 30%pig.querybank_data = filter bank by age &lt; 30;b = group bank_data by age;foreach b generate group, COUNT($1);The same as above, but use dynamic text form so that use can specify the variable maxAge in textbox. (See screenshot below). Dynamic form is a very cool feature of Zeppelin, you can refer this link) for details.%pig.querybank_data = filter bank by age &lt; ${maxAge=40};b = group bank_data by age;foreach b generate group, COUNT($1) as count;Get the number of each age for specific marital type, also use dynamic form here. User can choose the marital type in the dropdown list (see screenshot
below).%pig.querybank_data = filter bank by marital==&#39;${marital=single,single|divorced|married}&#39;;b = group bank_data by age;foreach b generate group, COUNT($1) as count;The above examples are in the Pig tutorial note in Zeppelin, you can check that for details. Here&#39;s the screenshot.Data is shared between %pig and %pig.query, so that you can do some common work in %pig, and do different kinds of query based on the data of %pig. Besides, we recommend you to specify alias explicitly so that the visualization can display the column name correctly. In the above example 2 and 3 of %pig.query, we name COUNT($1) as count. If you don&#39;t do this, then we will name it using position. E.g. in the above first example of %pig.query, we will use col_1 in chart to represent COUNT($1).",
"url": " /interpreter/pig.html",
"group": "manual",
"excerpt": "Apache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs."
@@ -506,7 +506,7 @@
"/setup/deployment/flink_and_spark_cluster.html": {
"title": "Install Zeppelin with Flink and Spark in cluster mode",
- "content" : "<!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-->{% include JB/setup %}# Install with flink and spark clusterThis tutorial is extremely entry-level. It assumes no prior knowledge of Linux, git, or other tools. If you carefully type what I tell you when I tell you, you should be able to get Zeppelin running.## Installing Zeppelin with Flink and Spark in cluster modeThis tutorial assumes the user has a machine (real or [virtual](https://www.virtualbox.org/wiki/Downloads) with a fre
sh, minimal installation of [Ubuntu 14.04.3 Server](http://www.ubuntu.com/download/server).**Note:** On the size requirements of the Virtual Machine, some users reported trouble when using the default virtual machine sizes, specifically that the hard drive needed to be at least 16GB- other users did not have this issue.There are many good tutorials on how to install Ubuntu Server on a virtual box, [here is one of them](http://ilearnstack.com/2013/04/13/setting-ubuntu-vm-in-virtualbox/)### Required ProgramsAssuming the minimal install, there are several programs that we will need to install before Zeppelin, Flink, and Spark.- git- openssh-server- OpenJDK 7- Maven 3.1+For git, openssh-server, and OpenJDK 7 we will be using the apt package manager.##### gitFrom the command prompt:```sudo apt-get install git```##### openssh-server```sudo apt-get install openssh-server```##### OpenJDK 7```sudo apt-get install openjdk-7-jdk openjdk-7-jre-lib```*A note for those using Ubuntu 16.04*: To ins
tall `openjdk-7` on Ubuntu 16.04, one must add a repository. [Source](http://askubuntu.com/questions/761127/ubuntu-16-04-and-openjdk-7)``` bashsudo add-apt-repository ppa:openjdk-r/ppasudo apt-get updatesudo apt-get install openjdk-7-jdk openjdk-7-jre-lib```##### Maven 3.1+Zeppelin requires maven version 3.x. The version available in the repositories at the time of writing is 2.x, so maven must be installed manually.Purge any existing versions of maven.```sudo apt-get purge maven maven2```Download the maven 3.3.9 binary.```wget "http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz"```Unarchive the binary and move to the `/usr/local` directory.```tar -zxvf apache-maven-3.3.9-bin.tar.gzsudo mv ./apache-maven-3.3.9 /usr/local```Create symbolic links in `/usr/bin`.```sudo ln -s /usr/local/apache-maven-3.3.9/bin/mvn /usr/bin/mvn```### Installing ZeppelinThis provides a quick overview of Zeppelin installation from source, however the reader
is encouraged to review the [Zeppelin Installation Guide](../../quickstart/install.html)From the command prompt:Clone Zeppelin.```git clone https://github.com/apache/zeppelin.git```Enter the Zeppelin root directory.```cd zeppelin```Package Zeppelin.```mvn clean package -DskipTests -Pspark-1.6 -Dflink.version=1.1.3 -Pscala-2.10````-DskipTests` skips build tests- you're not developing (yet), so you don't need to do tests, the clone version *should* build.`-Pspark-1.6` tells maven to build a Zeppelin with Spark 1.6. This is important because Zeppelin has its own Spark interpreter and the versions must be the same.`-Dflink.version=1.1.3` tells maven specifically to build Zeppelin with Flink version 1.1.3.-`-Pscala-2.10` tells maven to build with Scala v2.10.**Note:** You can build against any version of Spark that has a Zeppelin build profile available. The key is to make sure you check out the matching version of Spark to build. At the time of this writing, Spark 1.6 was the m
ost recent Spark version available.**Note:** On build failures. Having installed Zeppelin close to 30 times now, I will tell you that sometimes the build fails for seemingly no reason.As long as you didn't edit any code, it is unlikely the build is failing because of something you did. What does tend to happen, is some dependency that maven is trying to download is unreachable. If your build fails on this step here are some tips:- Don't get discouraged.- Scroll up and read through the logs. There will be clues there.- Retry (that is, run the `mvn clean package -DskipTests -Pspark-1.6` again)- If there were clues that a dependency couldn't be downloaded wait a few hours or even days and retry again. Open source software when compiling is trying to download all of the dependencies it needs, if a server is off-line there is nothing you can do but wait for it to come back.- Make sure you followed all of the steps carefully.- Ask the community to help you. Go [here](http://z
eppelin.apache.org/community.html) and join the user mailing list. People are there to help you. Make sure to copy and paste the build output (everything that happened in the console) and include that in your message.Start the Zeppelin daemon.```bin/zeppelin-daemon.sh start```Use `ifconfig` to determine the host machine's IP address. If you are not familiar with how to do this, a fairly comprehensive post can be found [here](http://www.cyberciti.biz/faq/how-to-find-out-the-ip-address-assigned-to-eth0-and-display-ip-only/).Open a web-browser on a machine connected to the same network as the host (or in the host operating system if using a virtual machine). Navigate to http://`yourip`:8080, where yourip is the IP address you found in `ifconfig`.See the [Zeppelin tutorial](../../quickstart/tutorial.html) for basic Zeppelin usage. It is also advised that you take a moment to check out the tutorial notebook that is included with each Zeppelin install, and to familiarize yourself wit
h basic notebook functionality.##### Flink TestCreate a new notebook named "Flink Test" and copy and paste the following code.```scala%flink // let Zeppelin know what interpreter to use.val text = benv.fromElements("In the time of chimpanzees, I was a monkey", // some lines of text to analyze"Butane in my veins and I'm out to cut the junkie","With the plastic eyeballs, spray paint the vegetables","Dog food stalls with the beefcake pantyhose","Kill the headlights and put it in neutral","Stock car flamin' with a loser in the cruise control","Baby's in Reno with the Vitamin D","Got a couple of couches, sleep on the love seat","Someone came in sayin' I'm insane to complain","About a shotgun wedding and a stain on my shirt","Don't believe everything that you breathe","You get a parking violation and a maggot on your sleeve","So
shave your face with some mace in the dark","Savin' all your food stamps and burnin' down the trailer park","Yo, cut it")/* The meat and potatoes: this tells Flink to iterate through the elements, in this case strings, transform the string to lower case and split the string at white space into individual words then finally aggregate the occurrence of each word. This creates the count variable which is a list of tuples of the form (word, occurances)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list*/val counts = text.flatMap{ _.toLowerCase.split("W+") }.map { (_,1) }.groupBy(0).sum(1)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list```Run the code to make sure the built-in Zeppelin Flink interpreter is working properly.##### Spark TestCreate a new notebook named "Spark Test" and copy and paste the foll
owing code.```scala%spark // let Zeppelin know what interpreter to use.val text = sc.parallelize(List("In the time of chimpanzees, I was a monkey", // some lines of text to analyze"Butane in my veins and I'm out to cut the junkie","With the plastic eyeballs, spray paint the vegetables","Dog food stalls with the beefcake pantyhose","Kill the headlights and put it in neutral","Stock car flamin' with a loser in the cruise control","Baby's in Reno with the Vitamin D","Got a couple of couches, sleep on the love seat","Someone came in sayin' I'm insane to complain","About a shotgun wedding and a stain on my shirt","Don't believe everything that you breathe","You get a parking violation and a maggot on your sleeve","So shave your face with some mace in the dark","Savin' all your food stamps and burnin' down the trailer park&
quot;,"Yo, cut it"))/* The meat and potatoes: this tells spark to iterate through the elements, in this case strings, transform the string to lower case and split the string at white space into individual words then finally aggregate the occurrence of each word. This creates the count variable which is a list of tuples of the form (word, occurances)*/val counts = text.flatMap { _.toLowerCase.split("W+") } .map { (_,1) } .reduceByKey(_ + _)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list```Run the code to make sure the built-in Zeppelin Flink interpreter is working properly.Finally, stop the Zeppelin daemon. From the command prompt run:```bin/zeppelin-daemon.sh stop```### Installing Clusters##### Flink Cluster###### Download BinariesBuilding from source is recommended where possible, for simplicity in this tutorial we will download Flink and Spark Bi
naries.To download the Flink Binary use `wget````bashwget "http://mirror.cogentco.com/pub/apache/flink/flink-1.1.3/flink-1.1.3-bin-hadoop24-scala_2.10.tgz"tar -xzvf flink-1.1.3-bin-hadoop24-scala_2.10.tgz```This will download Flink 1.1.3, compatible with Hadoop 2.4. You do not have to install Hadoop for this binary to work, but if you are using Hadoop, please change `24` to your appropriate version.Start the Flink Cluster.```bashflink-1.1.3/bin/start-cluster.sh```###### Building From sourceIf you wish to build Flink from source, the following will be instructive. Note that if you have downloaded and used the binary version this should be skipped. The changing nature of build tools and versions across platforms makes this section somewhat precarious. For example, Java8 and Maven 3.0.3 are recommended for building Flink, which are not recommended for Zeppelin at the time of writing. If the user wishes to attempt to build from source, this section will provide some refer
ence. If errors are encountered, please contact the Apache Flink community.See the [Flink Installation guide](https://github.com/apache/flink/blob/master/README.md) for more detailed instructions.Return to the directory where you have been downloading, this tutorial assumes that is `$HOME`. Clone Flink, check out release-1.1.3-rc2, and build.```cd $HOMEgit clone https://github.com/apache/flink.gitcd flinkgit checkout release-1.1.3-rc2mvn clean install -DskipTests```Start the Flink Cluster in stand-alone mode```build-target/bin/start-cluster.sh```###### Ensure the cluster is upIn a browser, navigate to http://`yourip`:8082 to see the Flink Web-UI. Click on 'Task Managers' in the left navigation bar. Ensure there is at least one Task Manager present.If no task managers are present, restart the Flink cluster with the following commands:(if binaries)```flink-1.1.3/bin/stop-cluster
.shflink-1.1.3/bin/start-cluster.sh```(if built from source)```build-target/bin/stop-cluster.shbuild-target/bin/start-cluster.sh```##### Spark 1.6 Cluster###### Download BinariesBuilding from source is recommended where possible, for simplicity in this tutorial we will download Flink and Spark Binaries.Using binaries is alsoTo download the Spark Binary use `wget````bashwget "http://d3kbcqa49mib13.cloudfront.net/spark-1.6.3-bin-hadoop2.6.tgz"tar -xzvf spark-1.6.3-bin-hadoop2.6.tgzmv spark-1.6.3-bin-hadoop2.6 spark```This will download Spark 1.6.3, compatible with Hadoop 2.6. You do not have to install Hadoop for this binary to work, but if you are using Hadoop, please change `2.6` to your appropriate version.###### Building From sourceSpark is an extraordinarily large project, which takes considerable time to download and build. It is also prone to build failures for similar reasons listed in the Flink section. If the user wishes to attempt to build from source, this sec
tion will provide some reference. If errors are encountered, please contact the Apache Spark community.See the [Spark Installation](https://github.com/apache/spark/blob/master/README.md) guide for more detailed instructions.Return to the directory where you have been downloading, this tutorial assumes that is $HOME. Clone Spark, check out branch-1.6, and build.**Note:** Recall, we're only checking out 1.6 because it is the most recent Spark for which a Zeppelin profile exists at the time of writing. You are free to check out other version, just make sure you build Zeppelin against the correct version of Spark. However if you use Spark 2.0, the word count example will need to be changed as Spark 2.0 is not compatible with the following examples.```cd $HOME```Clone, check out, and build Spark version 1.6.x.```git clone https://github.com/apache/spark.gitcd sparkgit checkout branch-1.6mvn clean package -DskipTests```###### Start the Spark clusterReturn to the `$HOME` directory.``
`bashcd $HOME```Start the Spark cluster in stand alone mode, specifying the webui-port as some port other than 8080 (the webui-port of Zeppelin).```spark/sbin/start-master.sh --webui-port 8082```**Note:** Why `--webui-port 8082`? There is a digression toward the end of this document that explains this.Open a browser and navigate to http://`yourip`:8082 to ensure the Spark master is running.Toward the top of the page there will be a *URL*: spark://`yourhost`:7077. Note this URL, the Spark Master URI, it will be needed in subsequent steps.Start the slave using the URI from the Spark master WebUI:```spark/sbin/start-slave.sh spark://yourhostname:7077```Return to the root directory and start the Zeppelin daemon.```cd $HOMEzeppelin/bin/zeppelin-daemon.sh start```##### Configure InterpretersOpen a web browser and go to the Zeppelin web-ui at http://yourip:8080.Now go back t
o the Zeppelin web-ui at http://`yourip`:8080 and this time click on *anonymous* at the top right, which will open a drop-down menu, select *Interpreters* to enter interpreter configuration.In the Spark section, click the edit button in the top right corner to make the property values editable (looks like a pencil).The only field that needs to be edited in the Spark interpreter is the master field. Change this value from `local[*]` to the URL you used to start the slave, mine was `spark://ubuntu:7077`.Click *Save* to update the parameters, and click *OK* when it asks you about restarting the interpreter.Now scroll down to the Flink section. Click the edit button and change the value of *host* from `local` to `localhost`. Click *Save* again.Reopen the examples and execute them again (I.e. you need to click the play button at the top of the screen, or the button on the paragraph .You should be able check the Flink and Spark webuis (at something like http://`yourip`:8081, http://`youri
p`:8082, http://`yourip`:8083) and see that jobs have been run against the clusters.**Digression** Sorry to be vague and use terms such as 'something like', but exactly what web-ui is at what port is going to depend on what order you started things. What is really going on here is you are pointing your browser at specific ports, namely 8081, 8082, and 8083. Flink and Spark all want to put their web-ui on port 8080, but are well behaved and will take the next port available. Since Zeppelin started first, it will get port 8080. When Flink starts (assuming you started Flink first), it will try to bind to port 8080, see that it is already taken, and go to the next one available, hopefully 8081. Spark has a webui for the master and the slave, so when they start they will try to bind to 8080 already taken by Zeppelin), then 8081 (already taken by Flink's webui), then 8082. If everything goes smoothy and you followed the directions precisely, the webuis should be 8081 and
8082. It *is* possible to specify the port you want the webui to bind to (at the command line by passing the `--webui-port ` flag when you start the Flink and Spark, where `` is the port you want to see that webui on. You can also set the default webui port of Spark and Flink (and Zeppelin) in the configuration files, but this is a tutorial for novices and slightly out of scope.### Next StepsCheck out the [tutorial](../../quickstart/tutorial.html) for more cool things you can do with your new toy, ask questions and contribute! Every little bit helps.",
+ "content" : "<!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-->{% include JB/setup %}# Install with flink and spark clusterThis tutorial is extremely entry-level. It assumes no prior knowledge of Linux, git, or other tools. If you carefully type what I tell you when I tell you, you should be able to get Zeppelin running.## Installing Zeppelin with Flink and Spark in cluster modeThis tutorial assumes the user has a machine (real or [virtual](https://www.virtualbox.org/wiki/Downloads) with a fre
sh, minimal installation of [Ubuntu 14.04.3 Server](http://www.ubuntu.com/download/server).**Note:** On the size requirements of the Virtual Machine, some users reported trouble when using the default virtual machine sizes, specifically that the hard drive needed to be at least 16GB- other users did not have this issue.There are many good tutorials on how to install Ubuntu Server on a virtual box, [here is one of them](http://ilearnstack.com/2013/04/13/setting-ubuntu-vm-in-virtualbox/)### Required ProgramsAssuming the minimal install, there are several programs that we will need to install before Zeppelin, Flink, and Spark.- git- openssh-server- OpenJDK 7- Maven 3.1+For git, openssh-server, and OpenJDK 7 we will be using the apt package manager.##### gitFrom the command prompt:```sudo apt-get install git```##### openssh-server```sudo apt-get install openssh-server```##### OpenJDK 7```sudo apt-get install openjdk-7-jdk openjdk-7-jre-lib```*A note for those using Ubuntu 16.04*: To ins
tall `openjdk-7` on Ubuntu 16.04, one must add a repository. [Source](http://askubuntu.com/questions/761127/ubuntu-16-04-and-openjdk-7)``` bashsudo add-apt-repository ppa:openjdk-r/ppasudo apt-get updatesudo apt-get install openjdk-7-jdk openjdk-7-jre-lib```##### Maven 3.1+Zeppelin requires maven version 3.x. The version available in the repositories at the time of writing is 2.x, so maven must be installed manually.Purge any existing versions of maven.```sudo apt-get purge maven maven2```Download the maven 3.3.9 binary.```wget "http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz"```Unarchive the binary and move to the `/usr/local` directory.```tar -zxvf apache-maven-3.3.9-bin.tar.gzsudo mv ./apache-maven-3.3.9 /usr/local```Create symbolic links in `/usr/bin`.```sudo ln -s /usr/local/apache-maven-3.3.9/bin/mvn /usr/bin/mvn```### Installing ZeppelinThis provides a quick overview of Zeppelin installation from source, however the reader
is encouraged to review the [Zeppelin Installation Guide](../../quickstart/install.html)From the command prompt:Clone Zeppelin.```git clone https://github.com/apache/zeppelin.git```Enter the Zeppelin root directory.```cd zeppelin```Package Zeppelin.```mvn clean package -DskipTests -Pspark-1.6 -Dflink.version=1.1.3 -Pscala-2.10````-DskipTests` skips build tests- you're not developing (yet), so you don't need to do tests, the clone version *should* build.`-Pspark-1.6` tells maven to build a Zeppelin with Spark 1.6. This is important because Zeppelin has its own Spark interpreter and the versions must be the same.`-Dflink.version=1.1.3` tells maven specifically to build Zeppelin with Flink version 1.1.3.-`-Pscala-2.10` tells maven to build with Scala v2.10.**Note:** You can build against any version of Spark that has a Zeppelin build profile available. The key is to make sure you check out the matching version of Spark to build. At the time of this writing, Spark 1.6 was the m
ost recent Spark version available.**Note:** On build failures. Having installed Zeppelin close to 30 times now, I will tell you that sometimes the build fails for seemingly no reason.As long as you didn't edit any code, it is unlikely the build is failing because of something you did. What does tend to happen, is some dependency that maven is trying to download is unreachable. If your build fails on this step here are some tips:- Don't get discouraged.- Scroll up and read through the logs. There will be clues there.- Retry (that is, run the `mvn clean package -DskipTests -Pspark-1.6` again)- If there were clues that a dependency couldn't be downloaded wait a few hours or even days and retry again. Open source software when compiling is trying to download all of the dependencies it needs, if a server is off-line there is nothing you can do but wait for it to come back.- Make sure you followed all of the steps carefully.- Ask the community to help you. Go [here](http://z
eppelin.apache.org/community.html) and join the user mailing list. People are there to help you. Make sure to copy and paste the build output (everything that happened in the console) and include that in your message.Start the Zeppelin daemon.```bin/zeppelin-daemon.sh start```Use `ifconfig` to determine the host machine's IP address. If you are not familiar with how to do this, a fairly comprehensive post can be found [here](http://www.cyberciti.biz/faq/how-to-find-out-the-ip-address-assigned-to-eth0-and-display-ip-only/).Open a web-browser on a machine connected to the same network as the host (or in the host operating system if using a virtual machine). Navigate to http://`yourip`:8080, where yourip is the IP address you found in `ifconfig`.See the [Zeppelin tutorial](../../quickstart/tutorial.html) for basic Zeppelin usage. It is also advised that you take a moment to check out the tutorial notebook that is included with each Zeppelin install, and to familiarize yourself wit
h basic notebook functionality.##### Flink TestCreate a new notebook named "Flink Test" and copy and paste the following code.```scala%flink // let Zeppelin know what interpreter to use.val text = benv.fromElements("In the time of chimpanzees, I was a monkey", // some lines of text to analyze"Butane in my veins and I'm out to cut the junkie","With the plastic eyeballs, spray paint the vegetables","Dog food stalls with the beefcake pantyhose","Kill the headlights and put it in neutral","Stock car flamin' with a loser in the cruise control","Baby's in Reno with the Vitamin D","Got a couple of couches, sleep on the love seat","Someone came in sayin' I'm insane to complain","About a shotgun wedding and a stain on my shirt","Don't believe everything that you breathe","You get a parking violation and a maggot on your sleeve","So
shave your face with some mace in the dark","Savin' all your food stamps and burnin' down the trailer park","Yo, cut it")/* The meat and potatoes: this tells Flink to iterate through the elements, in this case strings, transform the string to lower case and split the string at white space into individual words then finally aggregate the occurrence of each word. This creates the count variable which is a list of tuples of the form (word, occurances)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list*/val counts = text.flatMap{ _.toLowerCase.split("W+") }.map { (_,1) }.groupBy(0).sum(1)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list```Run the code to make sure the built-in Zeppelin Flink interpreter is working properly.##### Spark TestCreate a new notebook named "Spark Test" and copy and paste the foll
owing code.```scala%spark // let Zeppelin know what interpreter to use.val text = sc.parallelize(List("In the time of chimpanzees, I was a monkey", // some lines of text to analyze"Butane in my veins and I'm out to cut the junkie","With the plastic eyeballs, spray paint the vegetables","Dog food stalls with the beefcake pantyhose","Kill the headlights and put it in neutral","Stock car flamin' with a loser in the cruise control","Baby's in Reno with the Vitamin D","Got a couple of couches, sleep on the love seat","Someone came in sayin' I'm insane to complain","About a shotgun wedding and a stain on my shirt","Don't believe everything that you breathe","You get a parking violation and a maggot on your sleeve","So shave your face with some mace in the dark","Savin' all your food stamps and burnin' down the trailer park&
quot;,"Yo, cut it"))/* The meat and potatoes: this tells spark to iterate through the elements, in this case strings, transform the string to lower case and split the string at white space into individual words then finally aggregate the occurrence of each word. This creates the count variable which is a list of tuples of the form (word, occurances)*/val counts = text.flatMap { _.toLowerCase.split("W+") } .map { (_,1) } .reduceByKey(_ + _)counts.collect().foreach(println(_)) // execute the script and print each element in the counts list```Run the code to make sure the built-in Zeppelin Flink interpreter is working properly.Finally, stop the Zeppelin daemon. From the command prompt run:```bin/zeppelin-daemon.sh stop```### Installing Clusters##### Flink Cluster###### Download BinariesBuilding from source is recommended where possible, for simplicity in this tutorial we will download Flink and Spark Bi
naries.To download the Flink Binary use `wget````bashwget "http://mirror.cogentco.com/pub/apache/flink/flink-1.1.3/flink-1.1.3-bin-hadoop24-scala_2.10.tgz"tar -xzvf flink-1.1.3-bin-hadoop24-scala_2.10.tgz```This will download Flink 1.1.3, compatible with Hadoop 2.4. You do not have to install Hadoop for this binary to work, but if you are using Hadoop, please change `24` to your appropriate version.Start the Flink Cluster.```bashflink-1.1.3/bin/start-cluster.sh```###### Building From sourceIf you wish to build Flink from source, the following will be instructive. Note that if you have downloaded and used the binary version this should be skipped. The changing nature of build tools and versions across platforms makes this section somewhat precarious. For example, Java8 and Maven 3.0.3 are recommended for building Flink, which are not recommended for Zeppelin at the time of writing. If the user wishes to attempt to build from source, this section will provide some refer
ence. If errors are encountered, please contact the Apache Flink community.See the [Flink Installation guide](https://github.com/apache/flink/blob/master/README.md) for more detailed instructions.Return to the directory where you have been downloading, this tutorial assumes that is `$HOME`. Clone Flink, check out release-1.1.3-rc2, and build.```cd $HOMEgit clone https://github.com/apache/flink.gitcd flinkgit checkout release-1.1.3-rc2mvn clean install -DskipTests```Start the Flink Cluster in stand-alone mode```build-target/bin/start-cluster.sh```###### Ensure the cluster is upIn a browser, navigate to http://`yourip`:8082 to see the Flink Web-UI. Click on 'Task Managers' in the left navigation bar. Ensure there is at least one Task Manager present.If no task managers are present, restart the Flink cluster with the following commands:(if binaries)```flink-1.1.3/bin
/stop-cluster.shflink-1.1.3/bin/start-cluster.sh```(if built from source)```build-target/bin/stop-cluster.shbuild-target/bin/start-cluster.sh```##### Spark 1.6 Cluster###### Download BinariesBuilding from source is recommended where possible, for simplicity in this tutorial we will download Flink and Spark Binaries.Using binaries is alsoTo download the Spark Binary use `wget````bashwget "http://d3kbcqa49mib13.cloudfront.net/spark-1.6.3-bin-hadoop2.6.tgz"tar -xzvf spark-1.6.3-bin-hadoop2.6.tgzmv spark-1.6.3-bin-hadoop2.6 spark```This will download Spark 1.6.3, compatible with Hadoop 2.6. You do not have to install Hadoop for this binary to work, but if you are using Hadoop, please change `2.6` to your appropriate version.###### Building From sourceSpark is an extraordinarily large project, which takes considerable time to download and build. It is also prone to build failures for similar reasons listed in the Flink section. If the user wishes to attempt to build from sou
rce, this section will provide some reference. If errors are encountered, please contact the Apache Spark community.See the [Spark Installation](https://github.com/apache/spark/blob/master/README.md) guide for more detailed instructions.Return to the directory where you have been downloading, this tutorial assumes that is $HOME. Clone Spark, check out branch-1.6, and build.**Note:** Recall, we're only checking out 1.6 because it is the most recent Spark for which a Zeppelin profile exists at the time of writing. You are free to check out other version, just make sure you build Zeppelin against the correct version of Spark. However if you use Spark 2.0, the word count example will need to be changed as Spark 2.0 is not compatible with the following examples.```cd $HOME```Clone, check out, and build Spark version 1.6.x.```git clone https://github.com/apache/spark.gitcd sparkgit checkout branch-1.6mvn clean package -DskipTests```###### Start the Spark clusterReturn to the `$HOME`
directory.```bashcd $HOME```Start the Spark cluster in stand alone mode, specifying the webui-port as some port other than 8080 (the webui-port of Zeppelin).```spark/sbin/start-master.sh --webui-port 8082```**Note:** Why `--webui-port 8082`? There is a digression toward the end of this document that explains this.Open a browser and navigate to http://`yourip`:8082 to ensure the Spark master is running.Toward the top of the page there will be a *URL*: spark://`yourhost`:7077. Note this URL, the Spark Master URI, it will be needed in subsequent steps.Start the slave using the URI from the Spark master WebUI:```spark/sbin/start-slave.sh spark://yourhostname:7077```Return to the root directory and start the Zeppelin daemon.```cd $HOMEzeppelin/bin/zeppelin-daemon.sh start```##### Configure InterpretersOpen a web browser and go to the Zeppelin web-ui at http:/
/yourip:8080.Now go back to the Zeppelin web-ui at http://`yourip`:8080 and this time click on *anonymous* at the top right, which will open a drop-down menu, select *Interpreters* to enter interpreter configuration.In the Spark section, click the edit button in the top right corner to make the property values editable (looks like a pencil).The only field that needs to be edited in the Spark interpreter is the master field. Change this value from `local[*]` to the URL you used to start the slave, mine was `spark://ubuntu:7077`.Click *Save* to update the parameters, and click *OK* when it asks you about restarting the interpreter.Now scroll down to the Flink section. Click the edit button and change the value of *host* from `local` to `localhost`. Click *Save* again.Reopen the examples and execute them again (I.e. you need to click the play button at the top of the screen, or the button on the paragraph .You should be able check the Flink and Spark webuis (at something like http://`y
ourip`:8081, http://`yourip`:8082, http://`yourip`:8083) and see that jobs have been run against the clusters.**Digression** Sorry to be vague and use terms such as 'something like', but exactly what web-ui is at what port is going to depend on what order you started things. What is really going on here is you are pointing your browser at specific ports, namely 8081, 8082, and 8083. Flink and Spark all want to put their web-ui on port 8080, but are well behaved and will take the next port available. Since Zeppelin started first, it will get port 8080. When Flink starts (assuming you started Flink first), it will try to bind to port 8080, see that it is already taken, and go to the next one available, hopefully 8081. Spark has a webui for the master and the slave, so when they start they will try to bind to 8080 already taken by Zeppelin), then 8081 (already taken by Flink's webui), then 8082. If everything goes smoothy and you followed the directions precisely, the
webuis should be 8081 and 8082. It *is* possible to specify the port you want the webui to bind to (at the command line by passing the `--webui-port ` flag when you start the Flink and Spark, where `` is the port you want to see that webui on. You can also set the default webui port of Spark and Flink (and Zeppelin) in the configuration files, but this is a tutorial for novices and slightly out of scope.### Next StepsCheck out the [tutorial](../../quickstart/tutorial.html) for more cool things you can do with your new toy, ask questions and contribute! Every little bit helps.",
"url": " /setup/deployment/flink_and_spark_cluster.html",
"group": "setup/deployment",
"excerpt": ""
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/how_to_build.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/how_to_build.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/how_to_build.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/how_to_build.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/multi_user_support.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/multi_user_support.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/multi_user_support.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/basics/multi_user_support.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/cdh.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/cdh.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/cdh.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/cdh.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -308,19 +308,19 @@ export SPARK_HOME=[your_spark_home_path]
<p>Don't forget to set Spark <code>master</code> as <code>yarn-client</code> in Zeppelin <strong>Interpreters</strong> setting page like below.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/zeppelin_yarn_conf.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/zeppelin_yarn_conf.png" /></p>
<h3>5. Run Zeppelin with Spark interpreter</h3>
<p>After running a single paragraph with Spark interpreter in Zeppelin,</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/zeppelin_with_cdh.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/zeppelin_with_cdh.png" /></p>
<p><br/></p>
<p>browse <code>http://<hostname>:8088/cluster/apps</code> to check Zeppelin application is running well or not.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/cdh_yarn_applications.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/cdh_yarn_applications.png" /></p>
</div>
</div>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/docker.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/docker.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/docker.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/docker.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/flink_and_spark_cluster.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/flink_and_spark_cluster.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/flink_and_spark_cluster.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/flink_and_spark_cluster.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -469,7 +469,7 @@ mvn clean install -DskipTests
<p>In a browser, navigate to http://<code>yourip</code>:8082 to see the Flink Web-UI. Click on 'Task Managers' in the left navigation bar. Ensure there is at least one Task Manager present.</p>
-<p><center><img src="/assets/themes/zeppelin/img/screenshots/flink-webui.png" alt="alt text" title="The Flink Web-UI"></center></p>
+<p><center><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/flink-webui.png" alt="alt text" title="The Flink Web-UI"></center></p>
<p>If no task managers are present, restart the Flink cluster with the following commands:</p>
@@ -529,7 +529,7 @@ mvn clean package -DskipTests
<p>Open a browser and navigate to http://<code>yourip</code>:8082 to ensure the Spark master is running.</p>
-<p><center><img src="/assets/themes/zeppelin/img/screenshots/spark-master-webui1.png" alt="alt text" title="It should look like this..."></center></p>
+<p><center><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/spark-master-webui1.png" alt="alt text" title="It should look like this..."></center></p>
<p>Toward the top of the page there will be a <em>URL</em>: spark://<code>yourhost</code>:7077. Note this URL, the Spark Master URI, it will be needed in subsequent steps.</p>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/spark_cluster_mode.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/spark_cluster_mode.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/spark_cluster_mode.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/spark_cluster_mode.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -291,13 +291,13 @@ spark_standalone bash;
<p>Set Spark master as <code>spark://<hostname>:7077</code> in Zeppelin <strong>Interpreters</strong> setting page.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/standalone_conf.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/standalone_conf.png" /></p>
<h3>4. Run Zeppelin with Spark interpreter</h3>
<p>After running single paragraph with Spark interpreter in Zeppelin, browse <code>https://<hostname>:8080</code> and check whether Spark cluster is running well or not.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/spark_ui.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/spark_ui.png" /></p>
<p>You can also simply verify that Spark is running well in Docker with below command.</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">ps -ef | grep spark
@@ -359,13 +359,13 @@ export SPARK_HOME=[your_spark_home_path]
<p>Don't forget to set Spark <code>master</code> as <code>yarn-client</code> in Zeppelin <strong>Interpreters</strong> setting page like below.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/zeppelin_yarn_conf.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/zeppelin_yarn_conf.png" /></p>
<h3>5. Run Zeppelin with Spark interpreter</h3>
<p>After running a single paragraph with Spark interpreter in Zeppelin, browse <code>http://<hostname>:8088/cluster/apps</code> and check Zeppelin application is running well or not.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/yarn_applications.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/yarn_applications.png" /></p>
<h2>Spark on Mesos mode</h2>
@@ -405,13 +405,13 @@ export SPARK_HOME=[PATH OF SPARK HOME]
</code></pre></div>
<p>Don't forget to set Spark <code>master</code> as <code>mesos://127.0.1.1:5050</code> in Zeppelin <strong>Interpreters</strong> setting page like below.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/zeppelin_mesos_conf.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/zeppelin_mesos_conf.png" /></p>
<h3>5. Run Zeppelin with Spark interpreter</h3>
<p>After running a single paragraph with Spark interpreter in Zeppelin, browse <code>http://<hostname>:5050/#/frameworks</code> and check Zeppelin application is running well or not.</p>
-<p><img src="/assets/themes/zeppelin/img/docs-img/mesos_frameworks.png" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/mesos_frameworks.png" /></p>
<h3>Troubleshooting for Spark on Mesos</h3>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/virtual_machine.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/virtual_machine.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/virtual_machine.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/virtual_machine.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/yarn_install.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/yarn_install.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/yarn_install.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/deployment/yarn_install.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/configuration.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/configuration.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/configuration.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/configuration.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/proxy_setting.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/proxy_setting.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/proxy_setting.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/proxy_setting.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/trouble_shooting.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/trouble_shooting.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/trouble_shooting.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/trouble_shooting.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/upgrading.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/upgrading.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/upgrading.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/operation/upgrading.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/authentication_nginx.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/authentication_nginx.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/authentication_nginx.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/authentication_nginx.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/datasource_authorization.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/datasource_authorization.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/datasource_authorization.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/datasource_authorization.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -267,14 +267,14 @@ In this case, you can add your credentia
<p>You can add new credentials in the dropdown menu for your data source which can be passed to interpreters. </p>
-<p><img class="img-responsive" src="/assets/themes/zeppelin/img/docs-img/credential_tab.png" width="180px"/></p>
+<p><img class="img-responsive" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/credential_tab.png" width="180px"/></p>
<p><strong>Entity</strong> can be the key that distinguishes each credential sets.(We suggest that the convention of the <strong>Entity</strong> is <code>[Interpreter Group].[Interpreter Name]</code>.)
Please see <a href="../../usage/interpreter/overview.html#what-is-interpreter-group">what is interpreter group</a> for the detailed information.</p>
<p>Type <strong>Username & Password</strong> for your own credentials. ex) Mysql user & password of the JDBC Interpreter.</p>
-<p><img class="img-responsive" src="/assets/themes/zeppelin/img/docs-img/add_credential.png" /></p>
+<p><img class="img-responsive" src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/add_credential.png" /></p>
<p>The credentials saved as per users defined in <code>conf/shiro.ini</code>.
If you didn't activate <a href="./shiro_authentication.html">shiro authentication in Apache Zeppelin</a>, your credential information will be saved as <code>anonymous</code>.
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/notebook_authorization.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/notebook_authorization.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/notebook_authorization.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/notebook_authorization.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -272,14 +272,14 @@ Just click <strong>Lock icon</strong> an
<li>Writers ( users or groups )</li>
</ul>
-<p><center><img src="/assets/themes/zeppelin/img/docs-img/permission_setting.png"></center></p>
+<p><center><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/permission_setting.png"></center></p>
<p>Fill out the each forms with comma seperated <strong>users</strong> and <strong>groups</strong> configured in <code>conf/shiro.ini</code> file.
If the form is empty (*), it means that any users can perform that operation.</p>
<p>If someone who doesn't have <strong>read</strong> permission is trying to access the notebook or someone who doesn't have <strong>write</strong> permission is trying to edit the notebook, Zeppelin will ask to login or block the user.</p>
-<p><center><img src="/assets/themes/zeppelin/img/docs-img/insufficient_privileges.png"></center></p>
+<p><center><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/insufficient_privileges.png"></center></p>
<h2>Separate notebook workspaces (public vs. private)</h2>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -285,7 +285,7 @@ to create a <code>shiro.ini</code> file
<p>Finally, you can login using one of the below <strong>username/password</strong> combinations.</p>
-<p><center><img src="/assets/themes/zeppelin/img/docs-img/zeppelin-login.png"></center></p>
+<p><center><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/zeppelin-login.png"></center></p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">[users]
admin = password1, admin
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/setup/storage/storage.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/setup/storage/storage.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/setup/storage/storage.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/setup/storage/storage.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/usage/display_system/angular_backend.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/usage/display_system/angular_backend.html?rev=1800345&r1=1800344&r2=1800345&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/usage/display_system/angular_backend.html (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/usage/display_system/angular_backend.html Fri Jun 30 01:37:54 2017
@@ -56,7 +56,7 @@
</button>
<div class="navbar-brand">
<a class="navbar-brand-main" href="http://zeppelin.apache.org">
- <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
+ <img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/zeppelin_logo.png" width="50"
style="margin-top: -2px;" alt="I'm zeppelin">
<span style="margin-left: 5px; font-size: 27px;">Zeppelin</span>
<a class="navbar-brand-version" href="/docs/0.8.0-SNAPSHOT"
@@ -265,7 +265,7 @@ Therefore, you can not only update scope
<h3>Print AngularJS view</h3>
<p>To use angular display system, you should start with <code>%angular</code>.
-<img src="/assets/themes/zeppelin/img/screenshots/display_angular.png" width="60%" /></p>
+<img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/display_angular.png" width="60%" /></p>
<p>Since <code>name</code> is not defined, <code>Hello</code> will display <code>Hello</code>.</p>
@@ -292,7 +292,7 @@ Therefore, you can not only update scope
</code></pre></div>
<p>Using the above example, let's bind <code>world</code> variable to <code>name</code>. Then you can see <strong>AngularJs view</strong> is immediately updated.</p>
-<p><img src="/assets/themes/zeppelin/img/screenshots/display_angular1.png" width="60%" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/display_angular1.png" width="60%" /></p>
<p><br /></p>
@@ -313,12 +313,12 @@ Therefore, you can not only update scope
</code></pre></div>
<p>Let's make a button. When it is clicked, the value of <code>run</code> will be increased 1 by 1.</p>
-<p><img src="/assets/themes/zeppelin/img/screenshots/display_angular2.png" width="60%" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/display_angular2.png" width="60%" /></p>
<p><code>z.angularBind("run", 0)</code> will initialize <code>run</code> to zero. And then, it will be also applied to <code>run</code> in <code>z.angularWatch()</code>.
When the button is clicked, you'll see both <code>run</code> and <code>numWatched</code> are incremented by 1.</p>
-<p><img src="/assets/themes/zeppelin/img/screenshots/display_angular3.png" width="60%" /></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/display_angular3.png" width="60%" /></p>
<h2>Let's make it Simpler and more Intuitive</h2>
@@ -397,7 +397,7 @@ When the button is clicked, you'll s
<span class="c1">// update the value</span>
<span class="nc">AngularModel</span><span class="o">(</span><span class="s">"myModel"</span><span class="o">,</span> <span class="s">"New value"</span><span class="o">)</span>
</code></pre></div>
-<p><img src="/assets/themes/zeppelin/img/docs-img/basic-usage-angular.png" width="70%"></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/basic-usage-angular.png" width="70%"></p>
<h3>Example: String Converter</h3>
@@ -416,7 +416,7 @@ When the button is clicked, you'll s
<span class="o">{</span><span class="n">button</span><span class="o">}</span>
<span class="o"></</span><span class="n">div</span><span class="o">>.</span><span class="n">display</span>
</code></pre></div>
-<p><img src="/assets/themes/zeppelin/img/docs-img/string-converter-angular.gif" width="70%"></p>
+<p><img src="/docs/0.8.0-SNAPSHOT/assets/themes/zeppelin/img/docs-img/string-converter-angular.gif" width="70%"></p>
</div>
</div>