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 <[email protected]> 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 <http://lix1.bh.com> none none
> org.apache.phoenix.jdbc.PhoenixDriver*
>
> *Connecting to jdbc:phoenix:lix1.bh.com <http://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:      nmaillard*@hortonworks.com* <[email protected]>
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