shell interpreter doc

This commit is contained in:
Rohit Choudhary 2016-07-11 20:09:34 +05:30
parent 5190791c8f
commit 0a77e801e7

View file

@ -14,6 +14,29 @@ Shell interpreter uses [Apache Commons Exec](https://commons.apache.org/proper/c
In Zeppelin notebook, you can use ` %sh ` in the beginning of a paragraph to invoke system shell and run commands.
Note: Currently each command runs as Zeppelin user.
## Properties
You can modify the interpreter configuration in the `Interpreter` section. The most common properties are as follows, but you can specify other properties that need to be connected.
<table class="table-configuration">
<tr>
<td>shell.command.timeout.millisecs</td>
<td>Shell command time out in millisecs. Default = 60000</td>
</tr>
<tr>
<td>shell.auth.type</td>
<td>Types of authentications' methods supported are SIMPLE, and KERBEROS</td>
</tr>
<tr>
<td>shell.principal</td>
<td>The principal name to load from the keytab</td>
</tr>
<tr>
<td>shell.keytab.location</td>
<td>The path to the keytab file</td>
</tr>
</table>
### Example
The following example demonstrates the basic usage of Shell in a Zeppelin notebook.