title: Phoenix create index meet exception
body: <p>When I want to <strong>create index</strong> on <strong>a big hbase table</strong> with more than <strong>one hundred million rows</strong> in the sqlline cmd, I got an exception after a few minutes. I don't known how to resovle this problem. My env is:</p>
  
  <ul>
  <li>hbase(main):001:0> version<br>
  1.0.0-cdh5.4.2, rUnknown, Tue May 19 17:07:29 PDT 2015</li>
  <li>Phoenix<br>
  Connected to: Phoenix (version 4.6)<br>
  Driver: PhoenixEmbeddedDriver (version 4.6)<br>
  Autocommit status: true<br></li>
  </ul>
  
  <p>And the exception info look like:</p>
  
  <pre><code>15/12/11 14:20:08 WARN client.ScannerCallable: Ignore, probably already closed
  org.apache.hadoop.hbase.UnknownScannerException: org.apache.hadoop.hbase.UnknownScannerException: Name: 37, already closed?
  at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2092)
  at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:31443)
  at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2035)
  at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
  at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
  at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
  at java.lang.Thread.run(Thread.java:745)
  at sun.reflect.GeneratedConstructorAccessor13.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
  at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
  at org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRemoteException(ProtobufUtil.java:313)
  at org.apache.hadoop.hbase.client.ScannerCallable.close(ScannerCallable.java:329)
  at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:184)
  at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:136)
  at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:56)
  at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
  at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:288)
  at org.apache.hadoop.hbase.client.ClientScanner.close(ClientScanner.java:507)
  at org.apache.phoenix.iterate.ScanningResultIterator.close(ScanningResultIterator.java:49)
  at org.apache.phoenix.iterate.TableResultIterator.close(TableResultIterator.java:95)
  at org.apache.phoenix.jdbc.PhoenixResultSet.close(PhoenixResultSet.java:162)
  at org.apache.phoenix.compile.UpsertCompiler.upsertSelect(UpsertCompiler.java:199)
  at org.apache.phoenix.compile.UpsertCompiler.access$000(UpsertCompiler.java:114)
  at org.apache.phoenix.compile.UpsertCompiler$UpsertingParallelIteratorFactory.mutate(UpsertCompiler.java:229)
  at org.apache.phoenix.compile.MutatingParallelIteratorFactory.newIterator(MutatingParallelIteratorFactory.java:62)
  at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:109)
  at org.apache.phoenix.iterate.ParallelIterators$1.call(ParallelIterators.java:100)
  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.RemoteWithExtrasException(org.apache.hadoop.hbase.UnknownScannerException): org.apache.hadoop.hbase.UnknownScannerException: Name: 37, already closed?
  at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2092)
  at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:31443)
  at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2035)
  at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
  at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
  at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
  at java.lang.Thread.run(Thread.java:745)
  at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1199)
  at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:216)
  at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:300)
  at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:31889)
  at org.apache.hadoop.hbase.client.ScannerCallable.close(ScannerCallable.java:327)
  ... 20 more
  </code></pre>