hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From King JKing <beuk...@gmail.com>
Subject Hbase - limit connection per IP?
Date Wed, 20 Jul 2011 04:36:39 GMT
Dear all,

I application run well with HBase. But when I deploy my application to 10
instances, the eleventh application not run.

Maybe HBase have limit connection per IP?
How can I fix my problem?

I use zookeeper dump to see connection from my server to Hbase server. It
show 10 connection.
My HBase version is 0.9.1.
My application also use Connection Pool.

Here is log of the eleventh application:
INFO [Thread-8-SendThread] 2011-07-20 10:54:41,340 ClientCnxn.java (line
869) Attempting connection to server /
 INFO [Thread-8-SendThread] 2011-07-20 10:54:41,341 ClientCnxn.java (line
785) Priming connection to java.nio.channels.SocketChannel[connected local=/ remote=/]
 INFO [Thread-8-SendThread] 2011-07-20 10:54:41,341 ClientCnxn.java (line
937) Server connection successful
 WARN [Thread-8-SendThread] 2011-07-20 10:54:41,341 ClientCnxn.java (line
967) Exception closing session 0x0 to sun.nio.ch.SelectionKeyImpl@7929b073
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
 WARN [Thread-8-SendThread] 2011-07-20 10:54:41,341 ClientCnxn.java (line
1001) Ignoring exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:633)
at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)

Thank a lot for support.

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