Skip to content

Commit 0f396ac

Browse files
fix doc for zeppelin-2367
1 parent 08a9814 commit 0f396ac

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

docs/interpreter/jdbc.md

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -537,20 +537,40 @@ Here are some examples you can refer to. Including the below connectors, you can
537537
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.
538538

539539
To enable this set following:
540+
540541
- `zeppelin.jdbc.auth.type` as `SIMPLE` or `KERBEROS` (if required) in the interpreter setting.
541542
- `${prefix}.proxy.user.property` as `hive.server2.proxy.user`
542-
Example configuration
543543

544-
*Properties*
545544

546-
| name | value |
547-
|:------------------------- |:--------------------------------------------------------------------------------------------------|
548-
| hive.driver | org.apache.hive.jdbc.HiveDriver |
549-
| hive.password | |
550-
| hive.url | jdbc:hive2://hive-server-host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 |
551-
| hive.proxy.user.property | hive.proxy.user.property |
552-
| zeppelin.jdbc.auth.type | SIMPLE |
545+
Example configuration
553546

547+
##### Properties
548+
<table class="table-configuration">
549+
<tr>
550+
<th>Name</th>
551+
<th>Value</th>
552+
</tr>
553+
<tr>
554+
<td>hive.driver</td>
555+
<td>org.apache.hive.jdbc.HiveDriver</td>
556+
</tr>
557+
<tr>
558+
<td>hive.password</td>
559+
<td></td>
560+
</tr>
561+
<tr>
562+
<td>hive.url</td>
563+
<td>jdbc:hive2://hive-server-host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2</td>
564+
</tr>
565+
<tr>
566+
<td>hive.proxy.user.property</td>
567+
<td>hive.server2.proxy.user</td>
568+
</tr>
569+
<tr>
570+
<td>zeppelin.jdbc.auth.type</td>
571+
<td>SIMPLE</td>
572+
</tr>
573+
</table>
554574

555575

556576
### Apache Phoenix

0 commit comments

Comments
 (0)