Skip to content

Conversation

@randerzander
Copy link
Contributor

@randerzander randerzander commented Sep 19, 2016

What is this PR for?

Phoenix has two different connection types: thick and thin.
This PR is about describing the difference between the two and including properties for both in docs/interpreter/jdbc.md

What type of PR is it?

Documentation

What is the Jira issue?

ZEPPELIN-1452

How should this be tested?

No tests necessary

Questions:

  • Does the licenses files need update?
    No
  • Is there breaking changes for older versions?
    No
  • Does this needs documentation?
    No

@randerzander randerzander changed the title Added Phoenix 'thin client' to JDBC docs ZEPPELIN-1452: Include Phoenix 'thin client' instructions in docs Sep 19, 2016
Fixed JDBC driver classname, included Phoenix 4.8 artifact name
made dependency selection clearer
@randerzander
Copy link
Contributor Author

Before merging and implying support for Phoenix's thin client, ZEPPELIN-1459 should also be resolved.

The thin client has fewer dependencies and connects through a [Phoenix Query Server](http://phoenix.apache.org/server.html) instance.

Use the appropriate phoenix.driver and phoenix.url for your connection type.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @randerzander. Thanks for your contribution!

Probably it's a nitpick, currently those 4 lines are rendered like below,
screen shot 2016-09-20 at 4 16 59 pm

So how about changing the 4 lines to like this? (You can just copy&paste if you want :D )

Phoenix supports `thick` and `thin` connection types:

 - Thick client is faster, but must connect directly to ZooKeeper and HBase RegionServers.
 - Thin client has fewer dependencies and connects through a [Phoenix Query Server](http://phoenix.apache.org/server.html) instance.

Use the appropriate `phoenix.driver` and `phoenix.url` for your connection type.

Then it will be rendered
screen shot 2016-09-20 at 4 17 14 pm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. I included your suggestion in the latest commit.

suggestion from AhyoungRyu
@felixcheung
Copy link
Member

LGTM

@minahlee
Copy link
Member

Merge if there is no more discussion

@asfgit asfgit closed this in aff653b Sep 28, 2016
asfgit pushed a commit that referenced this pull request Sep 28, 2016
### What is this PR for?
Phoenix has two different connection types: thick and thin.
This PR is about describing the difference between the two and including properties for both in docs/interpreter/jdbc.md
### What type of PR is it?
Documentation

### What is the Jira issue?
[ZEPPELIN-1452](https://issues.apache.org/jira/browse/ZEPPELIN-1452)

### How should this be tested?
No tests necessary

### Questions:
* Does the licenses files need update?
No
* Is there breaking changes for older versions?
No
* Does this needs documentation?
No

Author: Randy Gelhausen <[email protected]>

Closes #1436 from randerzander/master and squashes the following commits:

3ed029e [Randy Gelhausen] Update jdbc.md
6e2dff0 [Randy Gelhausen] Update jdbc.md
2964ba8 [Randy Gelhausen] Update jdbc.md
d2720c3 [Randy Gelhausen] tweaked jdbc readme
38b1692 [Randy Gelhausen] Updated JDBC docs to include Phoenix thin client

(cherry picked from commit aff653b)
Signed-off-by: Mina Lee <[email protected]>
pedrozatta pushed a commit to pedrozatta/zeppelin that referenced this pull request Oct 27, 2016
### What is this PR for?
Phoenix has two different connection types: thick and thin.
This PR is about describing the difference between the two and including properties for both in docs/interpreter/jdbc.md
### What type of PR is it?
Documentation

### What is the Jira issue?
[ZEPPELIN-1452](https://issues.apache.org/jira/browse/ZEPPELIN-1452)

### How should this be tested?
No tests necessary

### Questions:
* Does the licenses files need update?
No
* Is there breaking changes for older versions?
No
* Does this needs documentation?
No

Author: Randy Gelhausen <[email protected]>

Closes apache#1436 from randerzander/master and squashes the following commits:

3ed029e [Randy Gelhausen] Update jdbc.md
6e2dff0 [Randy Gelhausen] Update jdbc.md
2964ba8 [Randy Gelhausen] Update jdbc.md
d2720c3 [Randy Gelhausen] tweaked jdbc readme
38b1692 [Randy Gelhausen] Updated JDBC docs to include Phoenix thin client
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.

4 participants