mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Update BASE_PATH
This commit is contained in:
parent
73a737cf0e
commit
ab6d267ebe
13 changed files with 56 additions and 57 deletions
|
|
@ -55,7 +55,7 @@ JB :
|
|||
# - Only the following values are falsy: ["", null, false]
|
||||
# - When setting BASE_PATH it must be a valid url.
|
||||
# This means always setting the protocol (http|https) or prefixing with "/"
|
||||
BASE_PATH : false
|
||||
BASE_PATH : /docs/0.6.0-incubating-SNAPSHOT
|
||||
|
||||
# By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme.
|
||||
# ex: [BASE_PATH]/assets/themes/[THEME-NAME]
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Zeppelin Interpreter is a language backend. For example to use scala code in Zep
|
|||
Every Interpreter belongs to an InterpreterGroup. InterpreterGroup is a unit of start/stop interpreter.
|
||||
Interpreters in the same InterpreterGroup can reference each other. For example, SparkSqlInterpreter can reference SparkInterpreter to get SparkContext from it while they're in the same group.
|
||||
|
||||
<img class="img-responsive" style="width:50%; border: 1px solid #ecf0f1;" height="auto" src="../../assets/themes/zeppelin/img/interpreter.png" />
|
||||
<img class="img-responsive" style="width:50%; border: 1px solid #ecf0f1;" height="auto" src="/assets/themes/zeppelin/img/interpreter.png" />
|
||||
|
||||
All Interpreters in the same interpreter group are launched in a single, separate JVM process. The Interpreter communicates with Zeppelin engine via thrift.
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ Therefore, you can not only update scope variable from your interpreter but also
|
|||
#### Print AngularJS view
|
||||
|
||||
To use angular display system, your output should starts with "%angular".
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_angular.png" width=600px />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_angular.png" width=600px />
|
||||
|
||||
Note that display system is backend independent.
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ z.angularUnbindGlobal(String name)
|
|||
|
||||
In the example, let's bind "world" variable 'name'. Then you can see AngularJs view are updated immediately.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_angular1.png" width=600px />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_angular1.png" width=600px />
|
||||
|
||||
|
||||
<br />
|
||||
|
|
@ -91,8 +91,8 @@ z.angularUnwatchGlobal(String name)
|
|||
Let's make an button, that increment 'run' variable by 1 when it is clicked.
|
||||
z.angularBind("run", 0) will initialize 'run' to zero. And then register watcher of 'run'.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_angular2.png" width=600px />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_angular2.png" width=600px />
|
||||
|
||||
After clicked button, you'll see both 'run' and numWatched are increased by 1
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_angular3.png" width=600px />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_angular3.png" width=600px />
|
||||
|
|
|
|||
|
|
@ -27,11 +27,11 @@ limitations under the License.
|
|||
|
||||
Zeppelin prints output of language backend in text, by default.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_text.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_text.png" />
|
||||
|
||||
You can explicitly say you're using text display system.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_text1.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_text1.png" />
|
||||
|
||||
Note that display system is backend independent.
|
||||
|
||||
|
|
@ -42,4 +42,4 @@ Note that display system is backend independent.
|
|||
|
||||
With '%html' directive, Zeppelin treats your output as html
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_html.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_html.png" />
|
||||
|
|
|
|||
|
|
@ -24,14 +24,14 @@ limitations under the License.
|
|||
|
||||
If you have data that row seprated by '\n' (newline) and column separated by '\t' (tab) with first row as header row, for example
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_table.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_table.png" />
|
||||
|
||||
You can simply use %table display system to leverage Zeppelin's built in visualization.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_table1.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_table1.png" />
|
||||
|
||||
Note that display system is backend independent.
|
||||
|
||||
If table contents start with %html, it is interpreted as an HTML.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/display_table_html.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/display_table_html.png" />
|
||||
|
|
|
|||
|
|
@ -35,14 +35,14 @@ limitations under the License.
|
|||
* [cassandra](./interpreter/cassandra.html)
|
||||
* [flink](./interpreter/flink.html)
|
||||
* [geode](./interpreter/geode.html)
|
||||
* [hive](../pleasecontribute.html)
|
||||
* [hive](./pleasecontribute.html)
|
||||
* [ignite](./interpreter/ignite.html)
|
||||
* [lens](./interpreter/lens.html)
|
||||
* [md](../pleasecontribute.html)
|
||||
* [md](./pleasecontribute.html)
|
||||
* [postgresql, hawq](./interpreter/postgresql.html)
|
||||
* [sh](../pleasecontribute.html)
|
||||
* [sh](./pleasecontribute.html)
|
||||
* [spark](./interpreter/spark.html)
|
||||
* [tajo](../pleasecontribute.html)
|
||||
* [tajo](./pleasecontribute.html)
|
||||
|
||||
### Storage
|
||||
* [S3 Storage](./storage/storage.html)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ limitations under the License.
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="col-md-7"><img class="img-responsive" style="border: 1px solid #ecf0f1;" height="auto" src="assets/themes/zeppelin/img/notebook.png" /></div>
|
||||
<div class="col-md-7"><img class="img-responsive" style="border: 1px solid #ecf0f1;" height="auto" src="/assets/themes/zeppelin/img/notebook.png" /></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -44,17 +44,16 @@ limitations under the License.
|
|||
Zeppelin interpreter concept allows any language/data-processing-backend to be plugged into Zeppelin.
|
||||
Currently Zeppelin supports many interpreters such as Scala(with Apache Spark), Python(with Apache Spark), SparkSQL, Hive, Markdown and Shell.
|
||||
|
||||
<img class="img-responsive" src="assets/themes/zeppelin/img/screenshots/multiple_language_backend.png" />
|
||||
<img class="img-responsive" src="/assets/themes/zeppelin/img/screenshots/multiple_language_backend.png" />
|
||||
|
||||
Adding new language-backend is really simple. Learn [how to write a zeppelin interpreter](./development/writingzeppelininterpreter.html).
|
||||
|
||||
|
||||
<br />
|
||||
### Apache Spark integration
|
||||
|
||||
Zeppelin provides built-in Apache Spark integration. You don't need to build a separate module, plugin or library for it.
|
||||
|
||||
<img src="assets/themes/zeppelin/img/spark_logo.jpg" width="80px" />
|
||||
<img src="/assets/themes/zeppelin/img/spark_logo.jpg" width="80px" />
|
||||
|
||||
Zeppelin's Spark integration provides
|
||||
|
||||
|
|
@ -69,10 +68,10 @@ Some basic charts are already included in Zeppelin. Visualizations are not limit
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<img class="img-responsive" src="./assets/themes/zeppelin/img/graph1.png" />
|
||||
<img class="img-responsive" src="/assets/themes/zeppelin/img/graph1.png" />
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<img class="img-responsive" src="./assets/themes/zeppelin/img/graph2.png" />
|
||||
<img class="img-responsive" src="/assets/themes/zeppelin/img/graph2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -82,7 +81,7 @@ With simple drag and drop Zeppelin aggeregates the values and display them in pi
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<img class="img-responsive" src="./assets/themes/zeppelin/img/screenshots/pivot.png" />
|
||||
<img class="img-responsive" src="/assets/themes/zeppelin/img/screenshots/pivot.png" />
|
||||
</div>
|
||||
</div>
|
||||
Learn more about Zeppelin's Display system. ( [text](./displaysystem/display.html), [html](./displaysystem/display.html#html), [table](./displaysystem/table.html), [angular](./displaysystem/angular.html) )
|
||||
|
|
@ -93,7 +92,7 @@ Learn more about Zeppelin's Display system. ( [text](./displaysystem/display.htm
|
|||
|
||||
Zeppelin can dynamically create some input forms into your notebook.
|
||||
|
||||
<img class="img-responsive" src="./assets/themes/zeppelin/img/screenshots/form_input.png" />
|
||||
<img class="img-responsive" src="/assets/themes/zeppelin/img/screenshots/form_input.png" />
|
||||
|
||||
Learn more about [Dynamic Forms](./manual/dynamicform.html).
|
||||
|
||||
|
|
@ -103,7 +102,7 @@ Learn more about [Dynamic Forms](./manual/dynamicform.html).
|
|||
|
||||
Notebook URL can be shared among collaborators. Zeppelin can then broadcast any changes in realtime, just like the collaboration in Google docs.
|
||||
|
||||
<img src="./assets/themes/zeppelin/img/screenshots/collaboration.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/collaboration.png" />
|
||||
|
||||
<br />
|
||||
### Publish
|
||||
|
|
@ -112,7 +111,7 @@ Notebook URL can be shared among collaborators. Zeppelin can then broadcast any
|
|||
This way, you can easily embed it as an iframe inside of your website.</p>
|
||||
|
||||
<div class="row">
|
||||
<img class="img-responsive center-block" src="./assets/themes/zeppelin/img/screenshots/publish.png" />
|
||||
<img class="img-responsive center-block" src="/assets/themes/zeppelin/img/screenshots/publish.png" />
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ group: manual
|
|||
In a notebook, to enable the **Cassandra** interpreter, click on the **Gear** icon and select **Cassandra**
|
||||
|
||||
<center>
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
</center>
|
||||
|
||||
<hr/>
|
||||
|
|
@ -44,7 +44,7 @@ group: manual
|
|||
To access the interactive help, type **HELP;**
|
||||
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
<hr/>
|
||||
|
|
@ -283,7 +283,7 @@ There is a drop-down menu on the top left corner to expand objects details. On t
|
|||
|
||||
<br/>
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
<hr/>
|
||||
|
|
@ -551,7 +551,7 @@ For this, first go to the **Interpreter** menu and click on the **Create** butto
|
|||
<br/>
|
||||
<br/>
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
In the interpreter creation form, put **cass-instance2** as **Name** and select the **cassandra**
|
||||
|
|
@ -559,7 +559,7 @@ in the interpreter drop-down list
|
|||
<br/>
|
||||
<br/>
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
Click on **Save** to create the new interpreter instance. Now you should be able to see it in the interpreter list.
|
||||
|
|
@ -567,7 +567,7 @@ in the interpreter drop-down list
|
|||
<br/>
|
||||
<br/>
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
Go back to your notebook and click on the **Gear** icon to configure interpreter bindings.
|
||||
|
|
@ -577,7 +577,7 @@ interpreter list instead of the standard **cassandra** instance.
|
|||
<br/>
|
||||
<br/>
|
||||
<center>
|
||||

|
||||

|
||||
</center>
|
||||
|
||||
<hr/>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ group: manual
|
|||
### Overview
|
||||
[Apache Ignite](https://ignite.apache.org/) In-Memory Data Fabric is a high-performance, integrated and distributed in-memory platform for computing and transacting on large-scale data sets in real-time, orders of magnitude faster than possible with traditional disk-based or flash technologies.
|
||||
|
||||

|
||||

|
||||
|
||||
You can use Zeppelin to retrieve distributed data from cache using Ignite SQL interpreter. Moreover, Ignite interpreter allows you to execute any Scala code in cases when SQL doesn't fit to your requirements. For example, you can populate data into your caches or execute distributed computations.
|
||||
|
||||
|
|
@ -68,12 +68,12 @@ At the "Interpreters" menu, you may edit Ignite interpreter or create new one. Z
|
|||
</tr>
|
||||
</table>
|
||||
|
||||

|
||||

|
||||
|
||||
### Interpreter Binding for Zeppelin Notebook
|
||||
After configuring Ignite interpreter, create your own notebook. Then you can bind interpreters like below image.
|
||||
|
||||

|
||||

|
||||
|
||||
For more interpreter binding information see [here](http://zeppelin.incubator.apache.org/docs/manual/interpreters.html).
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ For example, you can select top 10 words in the words cache using the following
|
|||
select _val, count(_val) as cnt from String group by _val order by cnt desc limit 10
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
As long as your Ignite version and Zeppelin Ignite version is same, you can also use scala code. Please check the Zeppelin Ignite version before you download your own Ignite.
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ As long as your Ignite version and Zeppelin Ignite version is same, you can also
|
|||
collectionAsScalaIterable(res).foreach(println _)
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
Apache Ignite also provides a guide docs for Zeppelin ["Ignite with Apache Zeppelin"](https://apacheignite.readme.io/docs/data-analysis-with-apache-zeppelin)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ group: manual
|
|||
### Overview
|
||||
[Apache Lens](https://lens.apache.org/) provides an Unified Analytics interface. Lens aims to cut the Data Analytics silos by providing a single view of data across multiple tiered data stores and optimal execution environment for the analytical query. It seamlessly integrates Hadoop with traditional data warehouses to appear like one.
|
||||
|
||||

|
||||

|
||||
|
||||
### Installing and Running Lens
|
||||
In order to use Lens interpreters, you may install Apache Lens in some simple steps:
|
||||
|
|
@ -75,11 +75,11 @@ At the "Interpreters" menu, you can to edit Lens interpreter or create new one.
|
|||
</tr>
|
||||
</table>
|
||||
|
||||

|
||||

|
||||
|
||||
### Interpreter Bindging for Zeppelin Notebook
|
||||
After configuring Lens interpreter, create your own notebook, then you can bind interpreters like below image.
|
||||

|
||||

|
||||
|
||||
For more interpreter binding information see [here](http://zeppelin.incubator.apache.org/docs/manual/interpreters.html).
|
||||
|
||||
|
|
@ -159,14 +159,14 @@ As you can see in this video, they are using Lens Client Shell(./bin/lens-cli.sh
|
|||
```
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
These are just examples that provided in advance by Lens. If you want to explore whole tutorials of Lens, see the [tutorial video](https://cwiki.apache.org/confluence/display/LENS/2015/07/13/20+Minute+video+demo+of+Apache+Lens+through+examples).
|
||||
|
||||
### Lens UI Service
|
||||
Lens also provides web UI service. Once the server starts up, you can open the service on http://serverhost:19999/index.html and browse. You may also check the structure that you made and use query easily here.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ To create text input form, use _${formName}_ templates.
|
|||
|
||||
for example
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_input.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_input.png" />
|
||||
|
||||
|
||||
Also you can provide default value, using _${formName=defaultValue}_.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_input_default.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_input_default.png" />
|
||||
|
||||
|
||||
<br />
|
||||
|
|
@ -52,11 +52,11 @@ To create select form, use _${formName=defaultValue,option1|option2...}_
|
|||
|
||||
for example
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_select.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_select.png" />
|
||||
|
||||
Also you can separate option's display name and value, using _${formName=defaultValue,option1(DisplayName)|option2(DisplayName)...}_
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_select_displayname.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_select_displayname.png" />
|
||||
|
||||
<br />
|
||||
### Creates Programmatically
|
||||
|
|
@ -79,7 +79,7 @@ Or Python
|
|||
print("Hello "+z.input("name"))
|
||||
```
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_input_prog.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_input_prog.png" />
|
||||
|
||||
Text input form with default value
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ Python
|
|||
print("Hello "+z.input("name", "sun"))
|
||||
```
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_input_default_prog.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_input_default_prog.png" />
|
||||
|
||||
Select form
|
||||
|
||||
|
|
@ -123,4 +123,4 @@ print("Hello "+z.select("day", [("1","mon"),
|
|||
("7","sun")]))
|
||||
```
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/form_select_prog.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/form_select_prog.png" />
|
||||
|
|
|
|||
|
|
@ -32,13 +32,13 @@ Zeppelin Interpreter is the plug-in which enable zeppelin user to use a specific
|
|||
|
||||
When you click on the ```+Create``` button in the interpreter page the interpreter drop-down list box will present all the available interpreters on your server.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/interpreter_create.png">
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/interpreter_create.png">
|
||||
|
||||
### What is zeppelin interpreter setting?
|
||||
|
||||
Zeppelin interpreter setting is the configuration of a given interpreter on zeppelin server. For example, the properties requried for hive JDBC interpreter to connect to the Hive server.
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/interpreter_setting.png">
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/interpreter_setting.png">
|
||||
### What is zeppelin interpreter group?
|
||||
|
||||
Every Interpreter belongs to an InterpreterGroup. InterpreterGroup is a unit of start/stop interpreter.
|
||||
|
|
@ -48,7 +48,7 @@ SparkSQL and the dependency loader.
|
|||
Technically, Zeppelin interpreters from the same group are running in the same JVM.
|
||||
|
||||
Interpreters belong to a single group a registered together and all of their properties are listed in the interpreter setting.
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png">
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png">
|
||||
|
||||
### Programming langages for interpreter
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ The process for creating your homepage is very simple as shown below:
|
|||
|
||||
for example
|
||||
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/homepage_notebook_id.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/homepage_notebook_id.png" />
|
||||
|
||||
Set the notebook id to the ```ZEPPELIN_NOTEBOOK_HOMESCREEN``` environment variable
|
||||
or ```zeppelin.notebook.homescreen``` property.
|
||||
|
|
@ -97,7 +97,7 @@ you need to do is use our %angular support.
|
|||
```
|
||||
|
||||
After running the notebook you will see output similar to this one:
|
||||
<img src="../../assets/themes/zeppelin/img/screenshots/homepage_notebook_list.png" />
|
||||
<img src="/assets/themes/zeppelin/img/screenshots/homepage_notebook_list.png" />
|
||||
|
||||
The main trick here relays in linking the ```<div>``` to the controller:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue