Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Socket Timeout Exception when executing coprocessor

Copy link to this message
Socket Timeout Exception when executing coprocessor
I've implemented my own coprocessor client, protocol and implementation that
returns back to the user a List of KeyValues with values that match some
criteria. I've tested this on a small table with just a few regions and it
works fine. I'm running into issues when I execute my code on a table with
200 regions, and I'm not really sure how to resolve the issue. I'm getting a
SocketTimeoutException shown below.

I'm able to run the AggregationClient coprocessor without seeing these
issues. It might be something I'm doing in my code, but if anybody has any
ideas why the request seems to be timing out or what I can do about it, I'd
appreciate that.
I'm running latest revision of hbase-0.92 and hadoop-0.20-append. My cluster
has 15 regionservers. Running on RHEL 5.5, 64-bit.
Some highlights of the errors are below...i've put the full thing in
pastebin here: http://pastebin.com/rapYiNp3
11/06/29 17:35:12 INFO ipc.HBaseRPC: Using
org.apache.hadoop.hbase.ipc.WritableRpcEngine for
11/06/29 17:48:12 WARN client.HConnectionManager$HConnectionImplementation:
Error executing for row 00223199610B220970111:2:0:7524::
org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact
region server mysite.com/myip:62091 for region
row '00223199610B220970111:2:0:7524::', but failed after 10 attempts.

java.net.SocketTimeoutException: Call to mysite.com/myip:62091 failed on
socket timeout exception: java.net.SocketTimeoutException: 60000 millis
timeout while waiting for channel to be ready for read. ch :
java.nio.channels.SocketChannel[connected local=/myip:14738 remotemysite.com/myip:62091]

at $Proxy1.getList(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.lang.Thread.run(Thread.java:662)
Stack 2011-07-01, 06:11
Ted Yu 2011-06-29, 22:47
Nichole Treadway 2011-06-29, 22:58
Himanshu Vashishtha 2011-06-29, 23:08
Mingjie Lai 2011-06-30, 06:57