|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: "Interpreter Installation" |
| 4 | +description: "" |
| 5 | +group: manual |
| 6 | +--- |
| 7 | +<!-- |
| 8 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | +you may not use this file except in compliance with the License. |
| 10 | +You may obtain a copy of the License at |
| 11 | +
|
| 12 | +http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | +
|
| 14 | +Unless required by applicable law or agreed to in writing, software |
| 15 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | +See the License for the specific language governing permissions and |
| 18 | +limitations under the License. |
| 19 | +--> |
| 20 | +{% include JB/setup %} |
| 21 | + |
| 22 | +# Interpreter Installation |
| 23 | + |
| 24 | +Apache Zeppelin provides **Interpreter Installation** mechanism for whom downloaded Zeppelin `netinst` binary package, or just want to install another 3rd party interpreters. |
| 25 | + |
| 26 | +## Community managed interpreters |
| 27 | +Apache Zeppelin provides several interpreters as [community managed interpreters](#available-community-managed-interpreters). |
| 28 | +If you downloaded `netinst` binary package, you need to install by using below commands. |
| 29 | + |
| 30 | +#### Install all community managed interpreters |
| 31 | + |
| 32 | +``` |
| 33 | +./bin/install-interpreter.sh --all |
| 34 | +``` |
| 35 | + |
| 36 | +#### Install specific interpreters |
| 37 | + |
| 38 | +``` |
| 39 | +./bin/install-interpreter.sh --name md,shell,jdbc,python |
| 40 | +``` |
| 41 | + |
| 42 | +You can get full list of community managed interpreters by running |
| 43 | + |
| 44 | +``` |
| 45 | +./bin/install-interpreter.sh --list |
| 46 | +``` |
| 47 | + |
| 48 | +Once you have installed interpreters, you need to restart Zeppelin. And then [create interpreter setting](../manual/interpreters.html#what-is-zeppelin-interpreter) and [bind it with your notebook](../manual/interpreters.html#what-is-zeppelin-interpreter-setting). |
| 49 | + |
| 50 | + |
| 51 | +## 3rd party interpreters |
| 52 | + |
| 53 | +You can also install 3rd party interpreters located in the maven repository by using below commands. |
| 54 | + |
| 55 | +#### Install 3rd party interpreters |
| 56 | + |
| 57 | +``` |
| 58 | +./bin/install-interpreter.sh --name interpreter1 --artifact groupId1:artifact1:version1 |
| 59 | +``` |
| 60 | + |
| 61 | +The above command will download maven artifact `groupId1:artifact1:version1` and all of it's transitive dependencies into `interpreter/interpreter1` directory. |
| 62 | + |
| 63 | +Once you have installed interpreters, you'll need to add interpreter class name into `zeppelin.interpreters` property in [configuration](../install/install.html#apache-zeppelin-configuration). |
| 64 | +And then restart Zeppelin, [create interpreter setting](../manual/interpreters.html#what-is-zeppelin-interpreter) and [bind it with your notebook](../manual/interpreters.html#what-is-zeppelin-interpreter-setting). |
| 65 | + |
| 66 | + |
| 67 | +#### Install multiple 3rd party interpreters at once |
| 68 | + |
| 69 | +``` |
| 70 | +./bin/install-interpreter.sh --name interpreter1,interpreter2 --artifact groupId1:artifact1:version1,groupId2:artifact2:version2 |
| 71 | +``` |
| 72 | + |
| 73 | +`--name` and `--artifact` arguments will recieve comma separated list. |
| 74 | + |
| 75 | +## Available community managed interpreters |
| 76 | + |
| 77 | +You can also find the below community managed interpreter list in `conf/interpreter-list` file. |
| 78 | +<table class="table-configuration"> |
| 79 | + <tr> |
| 80 | + <th>Name</th> |
| 81 | + <th>Maven Artifact</th> |
| 82 | + <th>Description</th> |
| 83 | + </tr> |
| 84 | + <tr> |
| 85 | + <td>alluxio</td> |
| 86 | + <td>org.apache.zeppelin:zeppelin-alluxio:0.6.0</td> |
| 87 | + <td>Alluxio interpreter</td> |
| 88 | + </tr> |
| 89 | + <tr> |
| 90 | + <td>angular</td> |
| 91 | + <td>org.apache.zeppelin:zeppelin-angular:0.6.0</td> |
| 92 | + <td>HTML and AngularJS view rendering</td> |
| 93 | + </tr> |
| 94 | + <tr> |
| 95 | + <td>cassandra</td> |
| 96 | + <td>org.apache.zeppelin:zeppelin-cassandra:0.6.0</td> |
| 97 | + <td>Cassandra interpreter</td> |
| 98 | + </tr> |
| 99 | + <tr> |
| 100 | + <td>elasticsearch</td> |
| 101 | + <td>org.apache.zeppelin:zeppelin-elasticsearch:0.6.0</td> |
| 102 | + <td>Elasticsearch interpreter</td> |
| 103 | + </tr> |
| 104 | + <tr> |
| 105 | + <td>file</td> |
| 106 | + <td>org.apache.zeppelin:zeppelin-file:0.6.0</td> |
| 107 | + <td>HDFS file interpreter</td> |
| 108 | + </tr> |
| 109 | + <tr> |
| 110 | + <td>flink</td> |
| 111 | + <td>org.apache.zeppelin:zeppelin-flink:0.6.0</td> |
| 112 | + <td>Flink interpreter</td> |
| 113 | + </tr> |
| 114 | + <tr> |
| 115 | + <td>hbase</td> |
| 116 | + <td>org.apache.zeppelin:zeppelin-hbase:0.6.0</td> |
| 117 | + <td>Hbase interpreter</td> |
| 118 | + </tr> |
| 119 | + <tr> |
| 120 | + <td>ignite</td> |
| 121 | + <td>org.apache.zeppelin:zeppelin-ignite:0.6.0</td> |
| 122 | + <td>Ignite interpreter</td> |
| 123 | + </tr> |
| 124 | + <tr> |
| 125 | + <td>jdbc</td> |
| 126 | + <td>org.apache.zeppelin:zeppelin-jdbc:0.6.0</td> |
| 127 | + <td>Jdbc interpreter</td> |
| 128 | + </tr> |
| 129 | + <tr> |
| 130 | + <td>kylin</td> |
| 131 | + <td>org.apache.zeppelin:zeppelin-kylin:0.6.0</td> |
| 132 | + <td>Kylin interpreter</td> |
| 133 | + </tr> |
| 134 | + <tr> |
| 135 | + <td>lens</td> |
| 136 | + <td>org.apache.zeppelin:zeppelin-lens:0.6.0</td> |
| 137 | + <td>Lens interpreter</td> |
| 138 | + </tr> |
| 139 | + <tr> |
| 140 | + <td>livy</td> |
| 141 | + <td>org.apache.zeppelin:zeppelin-livy:0.6.0</td> |
| 142 | + <td>Livy interpreter</td> |
| 143 | + </tr> |
| 144 | + <tr> |
| 145 | + <td>md</td> |
| 146 | + <td>org.apache.zeppelin:zeppelin-markdown:0.6.0</td> |
| 147 | + <td>Markdown support</td> |
| 148 | + </tr> |
| 149 | + <tr> |
| 150 | + <td>postgresql</td> |
| 151 | + <td>org.apache.zeppelin:zeppelin-postgresql:0.6.0</td> |
| 152 | + <td>Postgresql interpreter</td> |
| 153 | + </tr> |
| 154 | + <tr> |
| 155 | + <td>python</td> |
| 156 | + <td>org.apache.zeppelin:zeppelin-python:0.6.0</td> |
| 157 | + <td>Python interpreter</td> |
| 158 | + </tr> |
| 159 | + <tr> |
| 160 | + <td>shell</td> |
| 161 | + <td>org.apache.zeppelin:zeppelin-shell:0.6.0</td> |
| 162 | + <td>Shell command</td> |
| 163 | + </tr> |
| 164 | +</table> |
0 commit comments