You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pr...@apache.org on 2017/05/08 06:27:02 UTC
zeppelin git commit: [minor] Fix JDBC doc after #2229
Repository: zeppelin
Updated Branches:
refs/heads/master 246c3d026 -> 28ef8aa90
[minor] Fix JDBC doc after #2229
### What is this PR for?
Fix JDBC doc after #2229.
### What type of PR is it?
[Bug Fix]
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?
Author: Prabhjyot Singh <pr...@gmail.com>
Closes #2314 from prabhjyotsingh/minor/jdbc-doc-zeppelin-2367 and squashes the following commits:
e54a3a2b7 [Prabhjyot Singh] @AhyoungRyu review comments
0f396ac64 [Prabhjyot Singh] fix doc for zeppelin-2367
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/28ef8aa9
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/28ef8aa9
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/28ef8aa9
Branch: refs/heads/master
Commit: 28ef8aa90865a77b5aade4700bb945e6c0de9c3e
Parents: 246c3d0
Author: Prabhjyot Singh <pr...@gmail.com>
Authored: Thu May 4 11:12:36 2017 +0530
Committer: Prabhjyot Singh <pr...@gmail.com>
Committed: Mon May 8 11:57:05 2017 +0530
----------------------------------------------------------------------
docs/interpreter/jdbc.md | 40 +++++++++++++++++++++++++++++-----------
1 file changed, 29 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/28ef8aa9/docs/interpreter/jdbc.md
----------------------------------------------------------------------
diff --git a/docs/interpreter/jdbc.md b/docs/interpreter/jdbc.md
index f10444b..b7ac45a 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
+<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