Re: Phoenix database adapter for Python not working

2016-12-17 Thread Josh Elser
into more roadblocks. Regards, Will *From:* Cui Lin *Sent:* Friday, December 16, 2016 10:42 AM *To:* user@phoenix.apache.org *Subject:* Re: Phoenix database adapter for Python not working Hi Will, curl http://localhost:8765 cu

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
y server as a phoenix client. sqlline-thin depends on >>> phoenix query server. sqlline depends on Phoenix. >>> ​ >>> Thus, when you use sqlline, you connect to zk node, which is zk:2181 and >>> when you use sqlline-thin (or python client), you connect to phoe

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Mark Heppner
u connect to phoenix query >> server, which usually sits at 8765. >> >> Regards, >> Will >> >> >> -- >> *From:* Cui Lin >> *Sent:* Friday, December 16, 2016 10:47 AM >> *To:* user@phoenix.apache.org >> *Subje

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
hon client), you connect to phoenix query > server, which usually sits at 8765. > > Regards, > Will > > > -- > *From:* Cui Lin > *Sent:* Friday, December 16, 2016 10:47 AM > *To:* user@phoenix.apache.org > *Subject:* Re: Phoenix database adapter for Python not working >

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Will Xu
Will From: Cui Lin mailto:icecreamlc...@gmail.com>> Sent: Friday, December 16, 2016 10:29 AM To: user@phoenix.apache.org<mailto:user@phoenix.apache.org> Subject: Phoenix database adapter for Python not working I followed the instruction from http://p

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
t;>> Should be==> phoenixdb==0.5 >>> >>> >>> 2. Can you try curl http://localhost:8765 to see if the server is >>> actually running? If you open the page in browser you should see a Jetty >>> 404 page. >>> >>> >>>

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Will Xu
ml? Don't hesitate to reach out if you run into more roadblocks. Regards, Will From: Cui Lin Sent: Friday, December 16, 2016 10:42 AM To: user@phoenix.apache.org Subject: Re: Phoenix database adapter for Python not working Hi Will, curl http://localh

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
gt; $>bin/sqlline-thin.py http://localhost:8765 >> >> Regards, >> Will >> ------ >> *From:* Cui Lin >> *Sent:* Friday, December 16, 2016 10:29 AM >> *To:* user@phoenix.apache.org >> *Subject:* Phoenix datab

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
ctually a service. If > you have sqlline-thin client you can test it out. > > $>bin/sqlline-thin.py http://localhost:8765 > > Regards, > Will > -- > *From:* Cui Lin > *Sent:* Friday, December 16, 2016 10:29 AM > *To:* user@phoenix.a

Re: Phoenix database adapter for Python not working

2016-12-16 Thread Will Xu
bject: Phoenix database adapter for Python not working I followed the instruction from http://python-phoenixdb.readthedocs.io/en/latest/ to connect Hbase in cloudera cluster, but I got the following error below. >>> import phoenixdb >>> database_url = 'http://localhos

Phoenix database adapter for Python not working

2016-12-16 Thread Cui Lin
I followed the instruction from http://python-phoenixdb.readthedocs.io/en/latest/ to connect Hbase in cloudera cluster, but I got the following error below. >>> import phoenixdb >>> database_url = 'http://localhost:8765/' >>> conn = phoenixdb.connect(database_url, autocommit=True) Traceback (mos