Node.js, Hbase: Failed to connect to zookeeper

Using hbase-rpc-clientand trying to connect to Zookeper, I get the following error:

Failed to connect to zookeeper. zkHosts: [my_host_name: 2181] zkRoot: '/ hbase'

I know that the host and port are correct, as I see it in / master -status in the "Software Attributes" section:

  • Zookeeper Quorum: my_host_name: 2181
  • Zookeeper Base Path: / hbase

In addition, I use the exact same configuration for the ZooKeeper hostname: the port for connecting to my database with HareDBClient, and it works.

Results nmap myhostname -p 2181:

  • PORT: 2181 / tcp
  • STATE: open
  • SERVICE: unknown

Versions:

  • Hadoop: 2.7.3
  • Hbase: 1.3
  • Node.js: 6.9.1
  • hbase-rpc-client: 0.1.10

, hbase-rpc-client hbase - 1.2.x. - , hbase 1.3 , , - node.js hbase? 1.3, 1.2.x, .

- ?

+4

Source: https://habr.com/ru/post/1671805/


All Articles