hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manua <agarwal.m...@gmail.com>
Subject Java Client hangs after around 2 min
Date Wed, 07 Jul 2010 15:49:53 GMT

Hi All,

I have set up the Hbase in standalone mode. Both my server an client are
running on the same box.
When I tried to load a large amount of data, the client is hanging after
loading around 320000 records.

It looks, it may be a timeout issue. Please find below the snippet from

2010-07-07 11:32:25,993 INFO org.apache.zookeeper.server.NIOServerCnxn:
Connected to / lastZxid 0
2010-07-07 11:32:25,994 INFO org.apache.zookeeper.server.NIOServerCnxn:
Creating new session 0x129ad8917920002
2010-07-07 11:32:26,005 INFO org.apache.zookeeper.server.NIOServerCnxn:
Finished init of 0x129ad8917920002 valid:true
2010-07-07 11:34:24,319 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Processed session
termination request for id: 0x129ad8917920001
2010-07-07 11:34:24,342 INFO org.apache.zookeeper.server.NIOServerCnxn:
closing session:0x129ad8917920001 NIOServerCnxn:
java.nio.channels.SocketChannel[connected local=/

Also, I have made changes to hbase-default.xml as below, 

    <description>Property from ZooKeeper's config zoo.cfg. 
    The number of milliseconds of each tick.  See 
    zookeeper.session.timeout description. 

    <description>Property from ZooKeeper's config zoo.cfg. 
    The number of ticks that the initial synchronization phase can take. 

    <description>Property from ZooKeeper's config zoo.cfg. 
    The number of ticks that can pass between sending a request and 
getting an 

    <description>ZooKeeper session timeout. 
      HBase passes this to the zk quorum as suggested maximum time for a 
      session.  See 
      "The client sends a requested timeout, the server responds with the 
      timeout that it can give the client. The current implementation 
      requires that the timeout be a minimum of 2 times the tickTime 
      (as set in the server configuration) and a maximum of 20 times 
      the tickTime." Set the zk ticktime with 
      In milliseconds. 

    <description>HRegion server lease period in milliseconds. Default is 
      60 seconds. Clients must report in within this period else they are 
      considered dead.</description> 

But still, I am getting the same error, the client hangs.

Please let me know, if I am doing anything wrong or are there some other
settings which I need to make.

View this message in context: http://old.nabble.com/Java-Client-hangs-after-around-2-min-tp29097955p29097955.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message