Phoenix hbase java.util.concurrent.CancellationException错误

时间:2017-07-19 10:21:28

标签: java php hadoop hbase phoenix

我已经使用批处理在hbase表上每隔2秒使用phoenix执行一些操作,这反映在web管理仪表板上,但是当我尝试检查dashbard时,我有时会收到此错误。

 [response] => error
    [exceptions] => Array
        (
            [0] => java.lang.RuntimeException: org.apache.phoenix.exception.PhoenixIOException
    at org.apache.calcite.avatica.jdbc.JdbcResultSet.create(JdbcResultSet.java:98)
    at org.apache.calcite.avatica.jdbc.JdbcMeta.execute(JdbcMeta.java:867)
    at org.apache.calcite.avatica.remote.LocalService.apply(LocalService.java:268)
    at org.apache.calcite.avatica.remote.Service$ExecuteRequest.accept(Service.java:1024)
    at org.apache.calcite.avatica.remote.Service$ExecuteRequest.accept(Service.java:1000)
    at org.apache.calcite.avatica.remote.AbstractHandler.apply(AbstractHandler.java:95)
    at org.apache.calcite.avatica.remote.JsonHandler.apply(JsonHandler.java:52)
    at org.apache.calcite.avatica.server.AvaticaJsonHandler.handle(AvaticaJsonHandler.java:129)
    at org.apache.phoenix.shaded.org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    at org.apache.phoenix.shaded.org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.apache.phoenix.shaded.org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.apache.phoenix.shaded.org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.apache.phoenix.shaded.org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.apache.phoenix.shaded.org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.apache.phoenix.shaded.org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.apache.phoenix.shaded.org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.phoenix.exception.PhoenixIOException
    at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:111)
    at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:808)
    at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:714)
    at org.apache.phoenix.iterate.MergeSortResultIterator.getMinHeap(MergeSortResultIterator.java:72)
    at org.apache.phoenix.iterate.MergeSortResultIterator.minIterator(MergeSortResultIterator.java:93)
    at org.apache.phoenix.iterate.MergeSortResultIterator.next(MergeSortResultIterator.java:58)
    at org.apache.phoenix.iterate.BaseGroupedAggregatingResultIterator.next(BaseGroupedAggregatingResultIterator.java:64)
    at org.apache.phoenix.iterate.DelegateResultIterator.next(DelegateResultIterator.java:44)
    at org.apache.phoenix.iterate.OffsetResultIterator.next(OffsetResultIterator.java:45)
    at org.apache.phoenix.iterate.DelegateResultIterator.next(DelegateResultIterator.java:44)
    at org.apache.phoenix.iterate.LimitingResultIterator.next(LimitingResultIterator.java:47)
    at org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:778)
    at org.apache.calcite.avatica.jdbc.JdbcResultSet.frame(JdbcResultSet.java:133)
    at org.apache.calcite.avatica.jdbc.JdbcResultSet.create(JdbcResultSet.java:91)
    ... 16 more
Caused by: java.util.concurrent.CancellationException
    at java.util.concurrent.FutureTask.report(FutureTask.java:121)
    at java.util.concurrent.FutureTask.get(FutureTask.java:206)
    at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:766)
    ... 28 more

        )

每个批处理它将从表中获取30条记录并更新表中的一些信息。我使用php json API使用phoenix从HBase中获取记录。请帮我。

提前致谢。

0 个答案:

没有答案