phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chanh Le <giaosu...@gmail.com>
Subject Re: How to config zookeeper quorum in sqlline command?
Date Thu, 16 Feb 2017 06:49:56 GMT
Thank you very much my friend. It works.

Regards,
Chanh



> On Feb 16, 2017, at 11:53 AM, Juvenn Woo <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 <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