How did your Java program obtain hbase-site.xml of the cluster ?

Looks like hbase-site.xml was not on the classpath.

On Mon, Aug 1, 2016 at 3:36 AM, kevin <[email protected]> wrote:

> hi,all:
> I install hbase by ambari ,I found it's zookeeper url is /hbase-unsecure .
> when I use java api to connect to hbase ,program hung up .
> after kill it ,I found message :
> WARN ZKUtil: hconnection-0x4d1d2788-0x25617464bd80032,
> quorum=Centosle02:2181,Centosle03:2181,Centosle01:2181, baseZNode=/hbase
> Unable to get data of znode /hbase/meta-region-server
> java.lang.InterruptedException
>
> it read /hbase data not  /hbase-unsecure
>

Reply via email to