phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <els...@apache.org>
Subject Re: How to config zookeeper quorum in sqlline command?
Date Mon, 20 Feb 2017 01:06:02 GMT
Please be aware that you're now only communicating with a single ZK 
server instead of the three you have deployed. That ZK server is 
unavailable, your client will fail upon the next read to ZK it needs to 
make.

Presently, Phoenix doesn't support multiple ports for separate ZK 
servers. It expects them all be using the same client port.

e.g.

"zoo1,zoo2,zoo3:2181:/hbase"

Feel free to open an issue on JIRA provide a patch, that would support 
syntax like "zoo1:2182,zoo2:2183,zoo3:2182:/hbase"

Chanh Le wrote:
> Thank you very much my friend. It works.
>
> Regards,
> Chanh
>
>
>
>> On Feb 16, 2017, at 11:53 AM, Juvenn Woo <machese@gmail.com
>> <mailto:machese@gmail.com>> wrote:
>>
>> Hi Chanh,
>>
>> I think you need only specify one node:
>>
>> ./sqlline.py zoo1:2182
>> ./sqlline.py zoo1
>>
>> Best,
>> --
>> Juvenn Woo
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Thursday, 16 February 2017 at 12:41 PM, Chanh Le wrote:
>>
>>> Hi everybody,
>>> I am a newbie start using phoenix for a few days after did some
>>> research about config zookeeper quorum and still stuck I finally
>>> wanna ask directly into the community.
>>>
>>> Current zk quorum of mine a little odd *"hbase.zookeeper.quorum",
>>> "zoo1:2182,zoo1:2183,zoo2:2182"*
>>> I edited the env.sh <http://env.sh/> and add
>>> *HBASE_PATH=/build/etl/hbase-1.2.4*
>>> So I tried to run sqlline by
>>> /*./sqlline.py zk://zoo1:2182,zoo1:2183,zoo2:2182/hbase*/
>>> /*./sqlline.py zoo1:2182,zoo1:2183,zoo2:2182:/hbase*/
>>>
>>> Both not working.
>>>
>>> So I tried ./queryserver.py start
>>> and used sqlline-thin.py and got this error
>>> */Caused by: java.sql.SQLException: ERROR 102 (08001): Malformed
>>> connection url. :zoo1:2182,zoo1:2183,zoo2:2182:2181:/hbase;/*
>>> */
>>> /*
>>>
>>> Thank you in advance.
>>> Chanh
>>
>

Mime
View raw message