This works, thanks.



------------------ Original ------------------
From:  "Nicolas Maillard";<nmaill...@hortonworks.com>;
Send time: Tuesday, Dec 23, 2014 7:26 PM
To: "user"<user@phoenix.apache.org>; 

Subject:  Re: sqlline.py failed to work



Hello 

Try ./sqlline.py localhost:2181:/hbase-unsecure
This should help the znode for hbase in ambari is by default hbase-unsecure 


On Tue, Dec 23, 2014 at 12:14 PM, guxiaobo1982 <guxiaobo1...@qq.com> wrote:
Hi,


I am trying phoenix 4.2.2 against hbase 0.98.4.2.2.0.0 installed by ambari, the 
hbase shell command works probably, but 
./sqlline.py localhost failed to work with the following error messages:


 
[xiaobogu@lix1 bin]$ ./sqlline.py lix1.bh.com
 
Setting property: [isolation, TRANSACTION_READ_COMMITTED]
 
issuing: !connect jdbc:phoenix:lix1.bh.com none none 
org.apache.phoenix.jdbc.PhoenixDriver
 
Connecting to jdbc:phoenix:lix1.bh.com
 
14/12/10 05:20:57 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
 
14/12/10 05:20:59 ERROR client.HConnectionManager$HConnectionImplementation: 
The node /hbase is not in ZooKeeper. It should have been written by the master. 
Check the value configured in 'zookeep[xiaobogu@lix1 bin]$ 






-- 
Nicolas Maillard Solution Engineer
Phone:     +33 (0)6 68 17 66 05

Email:      nmaill...@hortonworks.com
Website:   http://www.hortonworks.com












 
 
 CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader of 
this message is not the intended recipient, you are hereby notified that any 
printing, copying, dissemination, distribution, disclosure or forwarding of 
this communication is strictly prohibited. If you have received this 
communication in error, please contact the sender immediately and delete it 
from your system. Thank You.

Reply via email to