You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manual/dynamicinterpreterload.md
+11-17Lines changed: 11 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ limitations under the License.
21
21
22
22
## Dynamic Interpreter Loading using REST API
23
23
24
-
Zeppelin provides pluggable interpreter architecture which results in a wide and variety of the supported backend system. In this section, we will introduce **Dynamic interpreter loading** using **REST API**. Actually this concept is come up with[Zeppelin Helium Proposal](https://cwiki.apache.org/confluence/display/ZEPPELIN/Helium+proposal).
25
-
Before the start, if you are not clear about the concept of **Zeppelin interpreter**, you can ckeck out [Overview of Zeppelin interpreter](../manual/interpreters.html) first.
24
+
Zeppelin provides pluggable interpreter architecture which results in a wide and variety of the supported backend system. In this section, we will introduce **Dynamic interpreter loading** using **REST API**. This concept actually comes from[Zeppelin Helium Proposal](https://cwiki.apache.org/confluence/display/ZEPPELIN/Helium+proposal).
25
+
Before we start, if you are not familiar with the concept of **Zeppelin interpreter**, you can check out [Overview of Zeppelin interpreter](../manual/interpreters.html) first.
26
26
27
27
<br/>
28
28
## Overview
29
-
In the past, Zeppelin loads interpreter binaries from `/interpreter/[interpreter_name]` directory. And they are configured by `zeppelin.interpreters` property in `conf/zeppelin-site.xml` or `ZEPPELIN_INTERPRETERS` env variables in `conf/zeppelin-env.sh`. They are loaded when Zeppelin server is starting up and stay alive until the server is down.
30
-
However, for using 3rd party interpreter much easier, we change this way to **dynamically**loading interpreters from **Maven Repository** using **REST API**. Hopefully, below picture helps you to understand the process easily.
29
+
In the past, Zeppelin was loading interpreter binaries from `/interpreter/[interpreter_name]` directory. They were configured by `zeppelin.interpreters` property in `conf/zeppelin-site.xml` or `ZEPPELIN_INTERPRETERS` env variables in `conf/zeppelin-env.sh`. They were loaded on Zeppelin server startup and stayed alive until the server was stopped.
30
+
In order to simplify using 3rd party interpreters, we changed this way to **dynamically**load interpreters from **Maven Repository** using **REST API**. Hopefully, the picture below will help you to understand the process.
In this time, the Restful method will be <code>**DELETE**</code>.
92
+
In this case, the Restful method will be <code>**DELETE**</code>.
93
93
94
94
<br/>
95
95
## What is the next step after Loading ?
96
-
97
-
Maybe, you are curious several things about how you can actually use the interpreter in Zeppelin.
98
96
99
97
### Q1. Where is the location of interpreters you downloaded ?
100
98
101
99
Actually, the answer about this question is in the above picture. Once the REST API is called, the `.jar` files of interpreters you get are saved under `ZEPPELIN_HOME/local-repo` first. Then, they will be copied to `ZEPPELIN_HOME/interpreter` directory. So, please checkout your `ZEPPELIN_HOME/interpreter`.
102
100
103
101
### Q2. Then, how can I use this interpreter ?
104
-
105
-
After loading, you can create and configure the interpreter at the Zeppelin **Interpreter tab**. Then, what is the next ? Please follow these simple steps. It will be really straightforward.
106
102
107
-
Oh, you don't need to restart your Zeppelin server. Because it is **Dynamic Interpreter Loading**, you can configure and load it **at runtime** !
103
+
After loading an interpreter, you can use it by creating and configuring it in Zeppelin's **Interpreter tab**.
104
+
105
+
Oh, you don't need to restart your Zeppelin server. Because it is **Dynamic Loading**, you can configure and load it **at runtime** !
108
106
109
107
1. After Zeppelin server up, browse Zeppelin home and click **Interpreter tab**.
0 commit comments