python-happybase / happybase

A developer-friendly Python library to interact with Apache HBase
https://happybase.readthedocs.io/
Other
612 stars 163 forks source link

how to set host para with zookeeper? #230

Closed universewill closed 4 years ago

universewill commented 4 years ago

i got a zookeeper host with a ip list. How to set the host para to establish connection?

wbolster commented 4 years ago

not sure what you mean. happybase does not use zookeeper.

universewill commented 4 years ago

my peer give me a java demo to connect hbase:

屏幕快照 2019-11-08 下午5 37 46 屏幕快照 2019-11-08 下午5 37 57

So how to connect the hbase with the happybase.Connection function? @wbolster

wbolster commented 4 years ago

this is not a support forum. seems you haven't read the documentation. tl;dr: run hbase thrift and connect to that.