File tree Expand file tree Collapse file tree 2 files changed +28
-8
lines changed
_includes/themes/zeppelin Expand file tree Collapse file tree 2 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 6464 < li > < a href ="{{BASE_PATH}}/interpreter/postgresql.html "> Postgresql, HAWQ</ a > </ li >
6565 < li > < a href ="{{BASE_PATH}}/interpreter/r.html "> R</ a > </ li >
6666 < li > < a href ="{{BASE_PATH}}/interpreter/scalding.html "> Scalding</ a > </ li >
67- < li > < a href ="{{BASE_PATH}}/pleasecontribute .html "> Shell</ a > </ li >
67+ < li > < a href ="{{BASE_PATH}}/interpreter/shell .html "> Shell</ a > </ li >
6868 < li > < a href ="{{BASE_PATH}}/interpreter/spark.html "> Spark</ a > </ li >
6969 </ ul >
7070 </ li >
Original file line number Diff line number Diff line change 22layout : page
33title : " Shell Interpreter"
44description : " Shell Interpreter"
5- group : manual
5+ group : interpreter
66---
77{% include JB/setup %}
88
9- ## Shell interpreter for Apache Zeppelin
9+ # Shell interpreter for Apache Zeppelin
1010
11- ### Overview
12- Shell interpreter uses [ Apache Commons Exec] ( https://commons.apache.org/proper/commons-exec ) to execute external processes.
11+ <div id =" toc " ></div >
1312
13+ ## Overview
14+ Shell interpreter uses [ Apache Commons Exec] ( https://commons.apache.org/proper/commons-exec ) to execute external processes.
1415In Zeppelin notebook, you can use ` %sh ` in the beginning of a paragraph to invoke system shell and run commands.
15- Note: Currently each command runs as Zeppelin user.
1616
17- ### Example
17+ > ** Note :** Currently each command runs as Zeppelin user.
18+
19+ ## Configuration
20+ At the "Interpreters" menu in Zeppelin dropdown menu, you can set the property value for Shell interpreter.
21+
22+ <table class =" table-configuration " >
23+ <tr >
24+ <th>Name</th>
25+ <th>Value</th>
26+ <th>Description</th>
27+ </tr >
28+ <tr >
29+ <td>shell.command.timeout.millisecs</td>
30+ <td>60000</td>
31+ <td>Shell command time out in millisecs</td>
32+ </tr >
33+ </table >
34+
35+ ## Example
1836The following example demonstrates the basic usage of Shell in a Zeppelin notebook.
1937
20- <img src =" {{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/shell-example.png " width =" 70% " />
38+ <img src =" {{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/shell-example.png " />
39+
40+ If you need further information about ** Zeppelin Interpreter Setting** for using Shell interpreter, please read [ What is interpreter setting?] ( ../manual/interpreters.html#what-is-interpreter-setting ) section first.
You can’t perform that action at this time.
0 commit comments