You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by prabhjyotsingh <gi...@git.apache.org> on 2016/06/28 18:23:04 UTC

[GitHub] zeppelin pull request #1103: [ZEPPELIN-1076] Set hbase.client.retries.number...

GitHub user prabhjyotsingh opened a pull request:

    https://github.com/apache/zeppelin/pull/1103

    [ZEPPELIN-1076] Set hbase.client.retries.number for JDBC

    ### What is this PR for?
    If a user has "org.apache.phoenix:phoenix-core:4.x.x" jar added as a dependency in JDBC interpreter, and for some reason phoenix was not accessible or not properly configured; then the phoenix tries to for 35 times (which is default for hbase.client.retries.number) and each retires is 8 second apart, before it finally fails.
    
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    * [x] - Set phoenix.hbase.client.retries.number for JDBC
    
    ### What is the Jira issue?
    * [ZEPPELIN-1076](https://issues.apache.org/jira/browse/ZEPPELIN-1076)
    
    ### How should this be tested?
    In JDBC interpreter add `org.apache.phoenix:phoenix-core:4.4.0-HBase-1.0` as dependency, but don't configure phoenix setting.
    Then try to run any sql query with any of the configured JDBC driver (like `show tables`)
    
     - Without this it will take slightly more than about 5 mins
     - With this it should fetch result sooner (in less than a minute)
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? n/a
    * Is there breaking changes for older versions? n/a
    * Does this needs documentation? n/a
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1076

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1103.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1103
    
----
commit 4da9763645a4f7832a435ff383b4cb78aa5ae2d2
Author: Prabhjyot Singh <pr...@gmail.com>
Date:   2016-06-28T18:12:03Z

    Set phoenix.hbase.client.retries.number for JDBC

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1103: [ZEPPELIN-1076] Set hbase.client.retries.number for JD...

Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the issue:

    https://github.com/apache/zeppelin/pull/1103
  
    LGTM. That property `hbase.client.retries.number` will be passed to phoenix jdbc, right?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1103: [ZEPPELIN-1076] Set hbase.client.retries.number for JD...

Posted by prabhjyotsingh <gi...@git.apache.org>.
Github user prabhjyotsingh commented on the issue:

    https://github.com/apache/zeppelin/pull/1103
  
    Yes, `phoenix.hbase.client.retries.number`, and have tested with and without this string.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1103: [ZEPPELIN-1076] Set hbase.client.retries.number for JD...

Posted by prabhjyotsingh <gi...@git.apache.org>.
Github user prabhjyotsingh commented on the issue:

    https://github.com/apache/zeppelin/pull/1103
  
    Merging this if no more discussion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1103: [ZEPPELIN-1076] Set hbase.client.retries.number...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/zeppelin/pull/1103


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---