diff --git a/docs/interpreter/jdbc.md b/docs/interpreter/jdbc.md index f10444b7795..b7ac45ae442 100644 --- a/docs/interpreter/jdbc.md +++ b/docs/interpreter/jdbc.md @@ -534,23 +534,41 @@ Here are some examples you can refer to. Including the below connectors, you can [Maven Repository : org.apache.hive:hive-jdbc](https://mvnrepository.com/artifact/org.apache.hive/hive-jdbc) ##### Impersonation -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. +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 notebook. 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 | +##### Sample configuration +
| 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.server2.proxy.user | +
| zeppelin.jdbc.auth.type | +SIMPLE | +