Skip to content

Conversation

@prabhjyotsingh
Copy link
Contributor

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?

@prabhjyotsingh
Copy link
Contributor Author

@AhyoungRyu can you help review this PR. With that (#2229), I assumed all syntax of MD will work for documentation, but it didn't generate the table.

[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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think are sharing a notebooks should be a notebook :)

| 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 |
Example configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then do we need this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was thinking of sample/example configuration, or should I change the line below ##### Properties to ##### Sample configuration ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that would be better i think :)

| zeppelin.jdbc.auth.type | SIMPLE |
Example configuration

##### Properties
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you need to use static table tag to generate the table. Seems it's working well now.
screen shot 2017-05-04 at 11 21 13 am

@prabhjyotsingh
Copy link
Contributor Author

@AhyoungRyu Thank you for the review, have made the recommended changes.

@felixcheung
Copy link
Member

ah sorry I should have picked this up in review

@prabhjyotsingh
Copy link
Contributor Author

Thank you @AhyoungRyu, @felixcheung for the review.
Will merge this to master, if no more discussion.

@asfgit asfgit closed this in 28ef8aa May 8, 2017
michelemilesi pushed a commit to icteam-spa/zeppelin that referenced this pull request May 11, 2017
### What is this PR for?
Fix JDBC doc after apache#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 <[email protected]>

Closes apache#2314 from prabhjyotsingh/minor/jdbc-doc-zeppelin-2367 and squashes the following commits:

e54a3a2 [Prabhjyot Singh] @AhyoungRyu  review comments
0f396ac [Prabhjyot Singh] fix doc for zeppelin-2367
@prabhjyotsingh prabhjyotsingh deleted the minor/jdbc-doc-zeppelin-2367 branch February 25, 2018 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants