AnsweredAssumed Answered

client app not connecting to hbase

Question asked by bc56 on Jul 11, 2012
Latest reply on Jul 11, 2012 by nabeel
All
We are trying to migrate from a local hbase/hadoop installation to mapR. When we startup our application that is using the stumpleupon API (ZK 3.2.2) we see the following in our logs


    2012-07-12 09:38:41,656 [main] INFO  org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=144.10.3.204:2181 sessionTimeout=60000 watcher=hconnection
    2012-07-12 09:38:41,671 [main-SendThread()] INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server /144.10.3.204:2181
    2012-07-12 09:38:41,682 [main-SendThread(celertech-dev-mapr:2181)] INFO  org.apache.zookeeper.ClientCnxn - Socket connection established to celertech-dev-mapr/144.10.3.204:2181, initiating session
    2012-07-12 09:38:41,690 [main-SendThread(celertech-dev-mapr:2181)] INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on server celertech-dev-mapr/144.10.3.204:2181, sessionid = 0x1387a4202720025, negotiated timeout = 40000
    2012-07-12 09:38:41,753 [main] INFO  org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation - getMaster attempt 0 of 10 failed; retrying after sleep of 1000
    java.net.ConnectException: Connection refused


The port is listening on the mapR machine


     telnet 144.10.3.204 2181
     Trying 144.10.3.204...
     Connected to celertech-dev-mapr.
     Escape character is '^]'.
     ^]

Outcomes