hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuja Rehman <shujamug...@gmail.com>
Subject JAVA CLIENT==10/08/31 20:27:54 INFO ipc.HbaseRPC: Problem connecting to server: /
Date Wed, 01 Sep 2010 10:01:39 GMT
Hi All

I have used these configuration settings to access hbase server from java

HBaseConfiguration config = new HBaseConfiguration();
  config.set("hbase.zookeeper.quorum", "myserver.mycompany.com:2181");

The problem is that its trying to connect to local ip address instead of
global IP.

INFO zookeeper.ZooKeeper: Initiating client connection, connectString=
myserver.mycompany.com:2181 sessionTimeout=60000
10/08/31 20:27:33 INFO zookeeper.ClientCnxn: Opening socket connection to
server myserver.mycompany.com/<http://myserver.mycompany.com/20314.166.12:2181>
10/08/31 20:27:33 INFO zookeeper.ClientCnxn: Socket connection established
to myserver.mycompany.com/, initiating session
10/08/31 20:27:34 INFO zookeeper.ClientCnxn: Session establishment complete
on server myserver.mycompany.com/,  sessionid =
0x12acaa705e30004, negotiated timeout = 40000

10/08/31 20:27:54 INFO ipc.HbaseRPC: Problem connecting to server: /
10/08/31 20:28:15 INFO ipc.HbaseRPC: Problem connecting to server: /
10/08/31 20:28:36 INFO ipc.HbaseRPC: Problem connecting to server: /

but it should try to connect to global ip not local ip. so need to resolve
this issue.I think we might need to put somewhere global Ip Addresss. I have
checked the zk dump and it has the following information

HBase tree in ZooKeeper is rooted at /hbase
  Cluster up? true
  Master address:
  Region server holding ROOT:
  Region servers:
  Quorum Server Statistics:
    - hadoop.zoniversal.com:2181
        Zookeeper version: 3.3.1-942149, built on 05/07/2010 17:14 GMT

        Latency min/avg/max: 0/0/118
        Received: 8056
        Sent: 8057
        Outstanding: 0
        Zxid: 0xda
        Mode: standalone
        Node count: 11

 Anybody there to help me out??


Shuja-ur-Rehman Baig
Cell: +92 3214207445

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message