查询二级索引表报错,但是不影响执行结果。
经过一段时间,重启了hbase,这种错误就消失了。
WARN iterate.BaseResultIterators: Unable to find parent table "T_EXTENSION_ALL_DATAS" of table "IDX_T_EXTENSION_ALL_DATAS_COUNTRY" to determine USE_STATS_FOR_PARALLELIZATION
org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=T_EXTENSION_ALL_DATAS
at org.apache.phoenix.schema.PMetaDataImpl.getTableRef(PMetaDataImpl.java:71)
at org.apache.phoenix.jdbc.PhoenixConnection.getTable(PhoenixConnection.java:581)
at org.apache.phoenix.mapreduce.util.PhoenixConfigurationUtil.getStatsForParallelizationProp(PhoenixConfigurationUtil.java:647)
at org.apache.phoenix.iterate.BaseResultIterators.<init>(BaseResultIterators.java:504)
at org.apache.phoenix.iterate.SerialIterators.<init>(SerialIterators.java:67)
at org.apache.phoenix.execute.ScanPlan.newIterator(ScanPlan.java:272)
at org.apache.phoenix.execute.BaseQueryPlan.iterator(BaseQueryPlan.java:364)
at org.apache.phoenix.execute.BaseQueryPlan.iterator(BaseQueryPlan.java:217)
at org.apache.phoenix.execute.BaseQueryPlan.iterator(BaseQueryPlan.java:212)
at org.apache.phoenix.execute.BaseQueryPlan.iterator(BaseQueryPlan.java:207)
at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:312)
at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:291)
at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:290)
at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:283)
at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1830)
at sqlline.Commands.execute(Commands.java:822)
at sqlline.Commands.sql(Commands.java:732)
at sqlline.SqlLine.dispatch(SqlLine.java:813)
at sqlline.SqlLine.begin(SqlLine.java:686)
at sqlline.SqlLine.start(SqlLine.java:398)
at sqlline.SqlLine.main(SqlLine.java:291)
猜测是:内存不足的问题。你们有遇到这种情况吗?