hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Haidinyak <phaidin...@local.com>
Subject Connection to HBase seems to hang
Date Thu, 09 Dec 2010 19:22:01 GMT
Hi,
I'm using HBase .89 and Hadoop .20.2

  I'm trying to create a connection to HBase from a remote Java Client. I am using the following
code...

    final Configuration configuration = HBaseConfiguration.create();
    configuration.set("hbase.zookeeper.quorum", "caiss01a");
    configuration.set("hbase.zookeeper.property.clientPort", "2222");
    m_trafficTable = new HTable(configuration, TRAFFIC_LOG_TABLE_NAME);
    m_logger.info("Connection successful.");

I never get to the line 'm_logger.info("Connection successful.");'

The log4j logging show the following...

10/12/09 11:17:30 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=caiss01a:2222
sessionTimeout=60000 watcher=org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper@19616c7
10/12/09 11:17:30 INFO zookeeper.ClientCnxn: zookeeper.disableAutoWatchReset is false
10/12/09 11:17:30 INFO zookeeper.ClientCnxn: Attempting connection to server caiss01a/172.16.2.224:2222
10/12/09 11:17:30 INFO zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected
local=/10.2.136.59:3592 remote=caiss01a/172.16.2.224:2222]
10/12/09 11:17:30 INFO zookeeper.ClientCnxn: Server connection successful

I've search the list and Google, does anyone hear have a suggestion?

Thanks

-Pete

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