AnsweredAssumed Answered

unable to connect hbase on mapr-desktop vm from a remote machine.

Question asked by abee on Jan 5, 2013
Latest reply on Jan 8, 2013 by yufeldman
unable to connect hbase on mapr-desktop vm from a remote machine.
i tried changing the /etc/hosts file, but with no success
Below is the exception iam getting,
<code>
13/01/06 18:45:35 INFO zookeeper.ClientCnxn: Session establishment complete on server mapr-desktop/192.168.196.134:5181, sessionid = 0x13c0ffc60770018, negotiated timeout = 180000
13/01/06 18:45:39 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 0 of 1 failed; no more retrying.
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:656)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:328)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:362)
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1045)
at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:897)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)
at $Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:183)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:303)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:280)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:332)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:642)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:106)
at org.apache.hadoop.hbase.client.HBaseAdmin.checkHBaseAvailable(HBaseAdmin.java:1553)
at com.yujikosuga.hbase.TestRemoteHbase.main(TestRemoteHbase.java:30)
13/01/06 18:45:39 INFO client.HConnectionManager$HConnectionImplementation: Closed zookeeper sessionid=0x13c0ffc60770018
13/01/06 18:45:39 INFO zookeeper.ZooKeeper: Session: 0x13c0ffc60770018 closed
13/01/06 18:45:39 INFO zookeeper.ClientCnxn: EventThread shut down
13/01/06 18:45:39 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.196.134:5181 sessionTimeout=180000 watcher=hconnection
13/01/06 18:45:39 INFO zookeeper.ClientCnxn: Opening socket connection to server /192.168.196.134:5181
13/01/06 18:45:39 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 23538@apatil-p150hm
13/01/06 18:45:39 WARN client.ZooKeeperSaslClient: SecurityException: java.lang.SecurityException: Unable to locate a login configuration occurred when trying to find JAAS configuration.
13/01/06 18:45:39 INFO client.ZooKeeperSaslClient: Client will not SASL-authenticate because the default JAAS configuration section 'Client' could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expected SASL to work, please fix your JAAS configuration.
13/01/06 18:45:39 INFO zookeeper.ClientCnxn: Socket connection established to mapr-desktop/192.168.196.134:5181, initiating session
13/01/06 18:45:39 WARN zookeeper.ClientCnxnSocket: Connected to an old server; r-o mode will be unavailable
13/01/06 18:45:39 INFO zookeeper.ClientCnxn: Session establishment complete on server mapr-desktop/192.168.196.134:5181, sessionid = 0x13c0ffc60770019, negotiated timeout = 180000
13/01/06 18:45:40 INFO client.HConnectionManager$HConnectionImplementation: Closed zookeeper sessionid=0x13c0ffc60770019
13/01/06 18:45:40 INFO zookeeper.ZooKeeper: Session: 0x13c0ffc60770019 closed
13/01/06 18:45:40 INFO zookeeper.ClientCnxn: EventThread shut down
HBase is not running!
</code>

Outcomes