Thanks everyone for guiding me on this! Setting hbase.rpc.timeout played the trick!
Thanks again everyone for the guidance! On Mon, Sep 26, 2011 at 11:22 PM, Mayuresh <[email protected]> wrote: > Thanks Gary! That did the trick. Its now working just fine!! > > Regards, > Mayuresh > > On Mon, Sep 26, 2011 at 9:50 PM, Mayuresh <[email protected]> > wrote: >> Thanks Gary! I'll try that out. >> >> Rearding bouncing mails, I could get over it by setting the mail >> format to plain text., >> >> Thanks again! >> >> On Mon, Sep 26, 2011 at 8:37 PM, Gary Helmling <[email protected]> wrote: >>> Mayuresh, >>> >>> Apologies for replying off list. The user mailing list seems to be bouncing >>> all of my messages as spam. >>> >>> See my response below on the call timeout. >>> >>> Gary >>> >>> >>> ---------- Forwarded message ---------- >>> From: Gary Helmling <[email protected]> >>> Date: Mon, Sep 26, 2011 at 7:57 AM >>> Subject: Re: Coprocessor execution - HBaseServer: (responseTooSlow) >>> java.nio.channels.ClosedChannelException >>> To: [email protected] >>> >>> >>> >>>> > However I still fail with the same error: >>>> > >>>> > 2011-09-26 15:50:28,857 WARN org.apache.hadoop.ipc.HBaseServer: >>>> > (responseTooSlow): >>>> > {"processingtimems":118696,"call":"execCoprocessor([B@5b0e6f59, >>>> > >>>> > getAvg(org.apache.hadoop.hbase.client.coprocessor.LongColumnInterpreter@10b06ac3, >>>> > >>>> > {\"timeRange\":[0,9223372036854775807],\"batch\":-1,\"startRow\":\"\",\"stopRow\":\"\",\"totalColumns\":0,\"cacheBlocks\":true,\"families\":{\"data\":[]},\"maxVersions\":1,\"caching\":-1}))","client":"137.72.240.180:54843","starttimems":1317032310155,"queuetimems":9,"class":"HRegionServer","responsesize":0,"method":"execCoprocessor"} >>> >>> This shows that the request took almost 2 minutes to process (118696 >>> milliseconds). >>> >>> I believe this is the client-side RPC timeout (default 60 seconds) from >>> HBASE-3154 kicking in. Try adding this to the hbase-site.xml you are using >>> on the clients: >>> >>> <property> >>> <name>hbase.rpc.timeout</name> >>> <value>300000</value> >>> </property> >>> >>> This will up the client side RPC timeout to 5 minutes. You can increase it >>> more if you think necessary or even disable it completely by setting to 0. >>> Note if you disable it though, and the server-side handler somehow gets hung >>> up (which would be a problem in itself), the client could keep waiting >>> indefinitely on the response. >>> >>> >> >> >> >> -- >> -Mayuresh >> > > > > -- > -Mayuresh > -- -Mayuresh
