<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Intermittent Timeout Error When Querying HBase in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155965#M118382</link>
    <description>&lt;P&gt;Ok, last check would be to verify that all of your RegionServers also have that configuration value. The easiest way is to venture to the HBase UI for each RegionServer (via the Master UI is the easiest) and verify that the value is set after clicking on "HBase Configuration" at the top of the page.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 01:22:40 GMT</pubDate>
    <dc:creator>elserj</dc:creator>
    <dc:date>2016-12-16T01:22:40Z</dc:date>
    <item>
      <title>Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155959#M118376</link>
      <description>&lt;P&gt;I'm having an intermittent timeout error when running some example code against HBase.  The basic Java application creates a Scanner and queries a particular HBase table.  For small queries, my code works fine.  But, when I increase the TimeRange of my query, I get intermittent timeout errors, as seen below.  Googling and searching the forum has not yielded any plausible solutions.  Does anyone have any idea what the source of this error might be, and how to mitigate it?&lt;/P&gt;&lt;PRE&gt;

 Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
     [java] Thu Dec 15 10:33:43 EST 2016, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=60304: row '' on table 'my-table-name' at region=my-table-name,,1481665174391.d068f4be09585cf831dbcd3a04664caf., hostname=hostname-007.localdomain.local,16020,1481747196976, seqNum=34514987
     [java]
     [java]     at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:271)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:195)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:59)
     [java]     at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
     [java]     at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:320)
     [java]     at org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:403)
     [java]     at org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
     [java]     at test.MyTestClass.main(MyTestClass.java:70)
     [java] Caused by: java.net.SocketTimeoutException: callTimeout=60000, callDuration=60304: row '' on table 'my-table-name' at region=my-table-name,,1481665174391.d068f4be09585cf831dbcd3a04664caf., hostname=hostname-007.localdomain.local,16020,1481747196976, seqNum=34514987
     [java]     at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:159)
     [java]     at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:64)
     [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     [java]     at java.lang.Thread.run(Thread.java:745)
     [java] Caused by: java.io.IOException: Call to hostname-007.localdomain.local/10.0.0.106:16020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=2, waitTime=60001, operationTimeout=60000 expired.
     [java]     at org.apache.hadoop.hbase.ipc.RpcClientImpl.wrapException(RpcClientImpl.java:1262)
     [java]     at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1230)
     [java]     at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:213)
     [java]     at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287)
     [java]     at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:32651)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:213)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:62)
     [java]     at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:346)
     [java]     at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:320)
     [java]     at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:126)
     [java]     ... 4 more
     [java] Caused by: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=2, waitTime=60001, operationTimeout=60000 expired.
     [java]     at org.apache.hadoop.hbase.ipc.Call.checkAndSetTimeout(Call.java:70)
     [java]     at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1204)
     [java]     ... 13 more
     [java] Java Result: 1&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:30:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155959#M118376</guid>
      <dc:creator>jjo135</dc:creator>
      <dc:date>2016-12-16T00:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155960#M118377</link>
      <description>&lt;P&gt;When you increase your time range, you have to read more data. HBase defines the maximum length of any RPC by the hbase.rpc.timeout property in hbase-site.xml. This defaults to 60s, and this limit is what you're hitting.&lt;/P&gt;&lt;P&gt;If you want to run a query that will scan over more data or generally take a long time (such as server-side filtering), you will have to increase hbase.rpc.timeout commensurately.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:33:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155960#M118377</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-12-16T00:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155961#M118378</link>
      <description>&lt;P&gt;I've checked this, but I've already got these timeout values set to 18000 (3 mins), so, I don't see why I'm getting a 60s timeout&lt;/P&gt;&lt;PRE&gt; cat /etc/hbase/conf/hbase-site.xml | grep -2 rpc.timeout

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.rpc.timeout&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;180000&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:38:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155961#M118378</guid>
      <dc:creator>jjo135</dc:creator>
      <dc:date>2016-12-16T00:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155962#M118379</link>
      <description>&lt;P&gt;Make sure that /etc/hbase/conf is included on your client's classpath.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:40:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155962#M118379</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-12-16T00:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155963#M118380</link>
      <description>&lt;P&gt;I've confirmed that /etc/hbase/conf is on the classpath, and I've added the following code to my test script:&lt;/P&gt;&lt;PRE&gt;                Configuration conf = HBaseConfiguration.create();
                System.out.println("Timeout: " + conf.get("hbase.rpc.timeout"));
&lt;/PRE&gt;&lt;P&gt;The above outputs 18000 as expected.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:52:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155963#M118380</guid>
      <dc:creator>jjo135</dc:creator>
      <dc:date>2016-12-16T00:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155964#M118381</link>
      <description>&lt;P&gt;is the port 16020 open on the nodes. especially hostname-007.localdomain.local&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 01:20:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155964#M118381</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-12-16T01:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155965#M118382</link>
      <description>&lt;P&gt;Ok, last check would be to verify that all of your RegionServers also have that configuration value. The easiest way is to venture to the HBase UI for each RegionServer (via the Master UI is the easiest) and verify that the value is set after clicking on "HBase Configuration" at the top of the page.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 01:22:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155965#M118382</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-12-16T01:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155966#M118383</link>
      <description>&lt;P&gt;He would not be seeing a SocketTimeoutException if the socket was unable to make a connection on that host+port. The SocketTimeoutException implies that the socket is connected.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 01:23:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155966#M118383</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-12-16T01:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155967#M118384</link>
      <description>&lt;P&gt;I've confirmed that this setting is the same across all machines in the cluster using the same command as above.  &lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 01:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155967#M118384</guid>
      <dc:creator>jjo135</dc:creator>
      <dc:date>2016-12-16T01:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155968#M118385</link>
      <description>&lt;P&gt;Yes, I've confirmed the port is open&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 01:53:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155968#M118385</guid>
      <dc:creator>jjo135</dc:creator>
      <dc:date>2016-12-16T01:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155969#M118386</link>
      <description>&lt;P&gt;hello,i use spark hivecontext to read a hive-hbase-external table.then,it seems to that i got the same problem. how did you solve this problem? can you share the solution with me？ &lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 16:54:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155969#M118386</guid>
      <dc:creator>1913915030</dc:creator>
      <dc:date>2017-03-30T16:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Timeout Error When Querying HBase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155970#M118387</link>
      <description>&lt;P&gt;Hello, &lt;A rel="user" href="https://community.cloudera.com/users/14930/jjo135.html" nodeid="14930"&gt;@John O'Hara&lt;/A&gt; is this problem resolved ? Even I'm having the issue I have rpc timeout set as 90000 but I get the error as 60000.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 15:35:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Intermittent-Timeout-Error-When-Querying-HBase/m-p/155970#M118387</guid>
      <dc:creator>contactvivekjai</dc:creator>
      <dc:date>2018-10-29T15:35:15Z</dc:date>
    </item>
  </channel>
</rss>

