well, I'd chk a few things:
- enable logger on the client to see if there are any exceptions  - Logger.
getRootLogger().setLevel(Level.DEBUG);
- chk if hbase is alive, if there are any errors in the hbase logs, if you
can access hbase master url, or hbase shell without issues,
- see if you can connect with sqlline locally,
- if you are connecting from this client machine for the first time, make
sure /etc/hosts has the ip address of zookeeper quorum used by hbase





On Wed, Jun 25, 2014 at 11:54 PM, Russell Jurney <[email protected]>
wrote:

> We're running Phoenix 2.2.2.
> ᐧ
>
>
> On Wed, Jun 25, 2014 at 8:31 PM, Alex Kamil <[email protected]> wrote:
>
>> Russell, which version of Phoenix are you using on the server vs client?
>> the most recent phoenix driver is
>> *org.apache.phoenix.jdbc.PhoenixDriver *
>>
>> I see older salesforce driver in your log, could be mismatch between
>> client and server phoenix versions
>> DriverManager.registerDriver("*com.salesforce*
>> .phoenix.jdbc.PhoenixDriver")
>>
>>
>> On Wed, Jun 25, 2014 at 11:23 PM, Russell Jurney <
>> [email protected]> wrote:
>>
>>> https://gist.github.com/rjurney/c30123ddb1dec87afd8e
>>>
>>> I can't get a connection via JDBC to Phoenix. It simply sits there
>>> forever...
>>>
>>> --
>>> Russell Jurney twitter.com/rjurney [email protected] datasyndrome
>>> .com
>>>
>>
>>
>
>
> --
> Russell Jurney twitter.com/rjurney [email protected] datasyndrome.
> com
>

Reply via email to