mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix doc for zeppelin-2367
This commit is contained in:
parent
08a9814033
commit
0f396ac64e
1 changed files with 30 additions and 10 deletions
|
|
@ -537,20 +537,40 @@ Here are some examples you can refer to. Including the below connectors, you can
|
|||
When Zeppelin server is running with authentication enabled, then the interpreter can utilize Hive's user proxy feature i.e. send extra parameter for creating and running a session ("hive.server2.proxy.user=": "${loggedInUser}"). This is particularly useful when multiple users are sharing a notebooks.
|
||||
|
||||
To enable this set following:
|
||||
|
||||
- `zeppelin.jdbc.auth.type` as `SIMPLE` or `KERBEROS` (if required) in the interpreter setting.
|
||||
- `${prefix}.proxy.user.property` as `hive.server2.proxy.user`
|
||||
|
||||
|
||||
Example configuration
|
||||
|
||||
*Properties*
|
||||
|
||||
| name | value |
|
||||
|:------------------------- |:--------------------------------------------------------------------------------------------------|
|
||||
| hive.driver | org.apache.hive.jdbc.HiveDriver |
|
||||
| hive.password | |
|
||||
| hive.url | jdbc:hive2://hive-server-host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 |
|
||||
| hive.proxy.user.property | hive.proxy.user.property |
|
||||
| zeppelin.jdbc.auth.type | SIMPLE |
|
||||
|
||||
##### Properties
|
||||
<table class="table-configuration">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hive.driver</td>
|
||||
<td>org.apache.hive.jdbc.HiveDriver</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hive.password</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hive.url</td>
|
||||
<td>jdbc:hive2://hive-server-host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hive.proxy.user.property</td>
|
||||
<td>hive.server2.proxy.user</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>zeppelin.jdbc.auth.type</td>
|
||||
<td>SIMPLE</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
### Apache Phoenix
|
||||
|
|
|
|||
Loading…
Reference in a new issue