add doc (reverted from commit ee8a6b524c)

This commit is contained in:
Prabhjyot Singh 2017-04-09 11:19:12 +05:30
parent 40489c89d4
commit 01b18b9d26

View file

@ -124,16 +124,6 @@ Hive Interpreter will be deprecated and merged into JDBC Interpreter. You can us
<td></td>
<td><b>( Optional ) </b>Other properties used by the driver of <code>%hive(${prefix})</code> </td>
</tr>
<tr>
<td>zeppelin.jdbc.auth.type</td>
<td></td>
<td><b>( Optional ) </b>If auth type is needed, Example: KERBEROS/SIMPLE</td>
</tr>
<tr>
<td>hive.proxy.user</td>
<td>true</td>
<td><b>( Optional ) </b>If want to use `hive.server2.proxy.user`</td>
</tr>
</table>
This interpreter provides multiple configuration with `${prefix}`. User can set a multiple connection properties by this prefix. It can be used like `%hive(${prefix})`.
@ -171,9 +161,3 @@ GROUP BY ${group_by=product_id,product_id|product_name|customer_id|store_id}
ORDER BY count ${order=DESC,DESC|ASC}
LIMIT ${limit=10};
```
### Impersonation
When Zeppelin server is running with authentication enabled, then this interpreter utilizes Hive's user proxy feature i.e. sends extra parameter for creating and running a session ("hive.server2.proxy.user=": "${loggedInUser}"). This is particularly useful when multi users are sharing a Notebook server.
To enable this set `zeppelin.jdbc.auth.type` as `SIMPLE` in the interpreter setting.