title: Hbase CallTimeoutException
body: <p>I'm running Hbase 1.1.2/Hadoop 2.7.1/phoenix-4.8.0. I'm trying to run a scan on a table but I'm getting RPC timeouts.</p>
  
  <p>I've changed the Hbase RPC timeout to 15 minutes which I can confirm frm the UI...
  I also changed the hbase.client.scanner.timeout.period to 15 minutes in hbase-site.xml.</p>
  
  <pre><code>  &lt;property&gt;
      &lt;name&gt;hbase.client.scanner.timeout.period&lt;/name&gt;
      &lt;value&gt;900000&lt;/value&gt; &lt;!-- 900 000, 15 minutes --&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;hbase.rpc.timeout&lt;/name&gt;
      &lt;value&gt;900000&lt;/value&gt; &lt;!-- 15 minutes --&gt;
    &lt;/property&gt;
  </code></pre>
  
  <p>... but my client is still timing out after 60s...</p>
  
  <pre><code>[09/05/17 12:06:51:051 CST] localhost-startStop-1-SendThread(192.168.16.7:2181)  INFO zookeeper.ClientCnxn: Unable to reconnect to ZooKeeper service, session 0x25a6a6966293434 has expired, closing socket connection
  [09/05/17 12:06:49:049 CST] phoenix-1-thread-436426  WARN client.ScannerCallable: Ignore, probably already closed
  java.io.IOException: Call to hadoopslave3/192.168.16.5:16020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=41428707, waitTime=63776, operationTimeout=60000 expired.
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.wrapException(RpcClientImpl.java:1284)
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1252)
      at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:213)
      at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287)
      at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:32651)
      at org.apache.hadoop.hbase.client.ScannerCallable.close(ScannerCallable.java:355)
      at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:195)
      at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:140)
      at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:59)
      at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
      at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:320)
      at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:258)
      at org.apache.hadoop.hbase.client.ClientScanner.possiblyNextScanner(ClientScanner.java:241)
      at org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:534)
      at org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
      at org.apache.phoenix.iterate.ScanningResultIterator.next(ScanningResultIterator.java:55)
      at org.apache.phoenix.iterate.TableResultIterator.next(TableResultIterator.java:126)
      at org.apache.phoenix.iterate.ChunkedResultIterator$SingleChunkResultIterator.next(ChunkedResultIterator.java:179)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:139)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:97)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:69)
      at org.apache.phoenix.iterate.SpoolingResultIterator$SpoolingResultIteratorFactory.newIterator(SpoolingResultIterator.java:92)
      at org.apache.phoenix.iterate.ChunkedResultIterator.&lt;init&gt;(ChunkedResultIterator.java:113)
      at org.apache.phoenix.iterate.ChunkedResultIterator.&lt;init&gt;(ChunkedResultIterator.java:55)
      at org.apache.phoenix.iterate.ChunkedResultIterator$ChunkedResultIteratorFactory.newIterator(ChunkedResultIterator.java:91)
      at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:114)
      at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:106)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask.run(JobManager.java:183)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=41428707, waitTime=63776, operationTimeout=60000 expired.
      at org.apache.hadoop.hbase.ipc.Call.checkAndSetTimeout(Call.java:70)
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1226)
      ... 30 more
  [09/05/17 12:06:49:049 CST] phoenix-1-thread-436435  WARN client.ScannerCallable: Ignore, probably already closed
  java.io.IOException: Call to hadoopslave3/192.168.16.5:16020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=41428712, waitTime=64527, operationTimeout=60000 expired.
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.wrapException(RpcClientImpl.java:1284)
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1252)
      at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:213)
      at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287)
      at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:32651)
      at org.apache.hadoop.hbase.client.ScannerCallable.close(ScannerCallable.java:355)
      at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:195)
      at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:140)
      at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:59)
      at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
      at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:320)
      at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:258)
      at org.apache.hadoop.hbase.client.ClientScanner.possiblyNextScanner(ClientScanner.java:241)
      at org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:534)
      at org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
      at org.apache.phoenix.iterate.ScanningResultIterator.next(ScanningResultIterator.java:55)
      at org.apache.phoenix.iterate.TableResultIterator.next(TableResultIterator.java:126)
      at org.apache.phoenix.iterate.ChunkedResultIterator$SingleChunkResultIterator.next(ChunkedResultIterator.java:179)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:139)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:97)
      at org.apache.phoenix.iterate.SpoolingResultIterator.&lt;init&gt;(SpoolingResultIterator.java:69)
      at org.apache.phoenix.iterate.SpoolingResultIterator$SpoolingResultIteratorFactory.newIterator(SpoolingResultIterator.java:92)
      at org.apache.phoenix.iterate.ChunkedResultIterator.&lt;init&gt;(ChunkedResultIterator.java:113)
      at org.apache.phoenix.iterate.ChunkedResultIterator.&lt;init&gt;(ChunkedResultIterator.java:55)
      at org.apache.phoenix.iterate.ChunkedResultIterator$ChunkedResultIteratorFactory.newIterator(ChunkedResultIterator.java:91)
      at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:114)
      at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:106)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask.run(JobManager.java:183)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=41428712, waitTime=64527, operationTimeout=60000 expired.
      at org.apache.hadoop.hbase.ipc.Call.checkAndSetTimeout(Call.java:70)
      at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1226)
  </code></pre>
  
  <p>By the way ,my client uses phoenixJdbcTemplate,Below is the configs</p>
  
  <pre><code>&lt;bean id="phoenixJdbcTemplate"
            class="org.springframework.jdbc.core.JdbcTemplate"&gt;
          &lt;constructor-arg ref="phoenixDataSource"/&gt;
          &lt;qualifier value="phoenixJdbcTemplate"&gt;&lt;/qualifier&gt;
      &lt;/bean&gt;
  
  
      &lt;!--&lt;bean id="alertPonenixImpl" class="com.eazy.eqm.dubbo.data.provider.service.BasePhoenix"&gt;--&gt;
          &lt;!--&lt;property name="jdbcTemplate" ref="phoenixJdbcTemplate"/&gt;--&gt;
      &lt;!--&lt;/bean&gt;--&gt;
  
  
      &lt;bean id="phoenixDataSource" class="org.apache.commons.dbcp.BasicDataSource"&gt;
          &lt;property name="driverClassName" value="org.apache.phoenix.jdbc.PhoenixDriver"/&gt;
          &lt;property name="url"&gt;&lt;value&gt;jdbc:phoenix:192.168.16.7:2181&lt;/value&gt;&lt;/property&gt;
          &lt;!--&lt;property name="username" value=""/&gt;--&gt;
          &lt;!--&lt;property name="password" value=""/&gt;--&gt;
          &lt;!--&lt;property name="initialSize" value="20"/&gt;--&gt;
          &lt;!--&lt;property name="maxActive" value="0"/&gt;--&gt;
          &lt;property name="defaultAutoCommit" value="true"/&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>Is there some other timeout that I'm missing? 
  or I have to change the config   only in a client side? if so,how to ?</p>