Hello, I am trying to setup a connection to hbase using hadoop 2. I have a working deployment of hbase where the master is up and running, sees its regionservers. I have a working (not managed) zookeeper where zkCli.sh get /hbase/hbaseid works from any machine in the cluster.
Trying to setup the job like so: conf.set("hbase.zookeeper.quorum", "scaleway-data-c,scaleway-data-d,scaleway-data-e"); conf.set("hbase.zookeeper.property.clientPort", "2181"); conf.set("hbase.master", "scaleway-data-e:60000"); However the job fails with this error: ^C^C^C20/12/08 16:41:45 WARN zookeeper.ReadOnlyZKClient: 0x574a5837 to scaleway-data-e:2181 failed for get of /hbase/hbaseid, code = CONNECTIONLOSS, retries = 18 ^C^C^C^C^C^C^C^C^C^C20/12/08 16:41:46 INFO zookeeper.ClientCnxn: Opening socket connection to server scaleway-data-e/<unresolved>:2181 20/12/08 16:41:46 WARN zookeeper.ClientCnxn: Session 0x0 for server scaleway-data-e/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect java.nio.channels.UnresolvedAddressException at java.base/sun.nio.ch.Net.checkAddress(Net.java:139) at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:727) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:741) at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277) at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1017) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1060) I am extremely puzzled with this error as each server are listed in /etc/hosts, they ping correctly. In addition zkCli, hbase shell, everything works. How is it possible that I get this UnresolvedAddressException error? Anyone came accross this error? Best, -- <https://lefty.io/> The influencer marketing platform for lifestyle brands CHRISTIAN RIVASSEAU CTO +33 6 67 35 26 74 lefty.io [image: LinkedIn] <https://www.linkedin.com/in/christian-rivasseau-556a054/>