Apache IoTDB Query is time out (-1ms)

2023-05-16

现象

查询超时,服务器出现一下日志

2022-01-05 15:57:05,724 [pool-12-IoTDB-query-time-manager-1] WARN  o.a.i.d.q.c.QueryTimeManager:71 - Query is time out (-1ms) with queryId 7
2022-01-05 15:57:05,725 [pool-14-IoTDB-RPC-Client-4] WARN  o.a.i.d.s.TSServiceImpl:1919 - Current query is time out, please check your statement or modify timeout parameter.
org.apache.iotdb.db.exception.query.QueryTimeoutRuntimeException: Current query is time out, please check your statement or modify timeout parameter.
        at org.apache.iotdb.db.query.control.QueryTimeManager.checkQueryAlive(QueryTimeManager.java:107)
        at org.apache.iotdb.db.query.dataset.RawQueryDataSetWithoutValueFilter.init(RawQueryDataSetWithoutValueFilter.java:229)
        at org.apache.iotdb.db.query.dataset.RawQueryDataSetWithoutValueFilter.<init>(RawQueryDataSetWithoutValueFilter.java:205)
        at org.apache.iotdb.db.query.executor.RawDataQueryExecutor.executeWithoutValueFilter(RawDataQueryExecutor.java:70)
        at org.apache.iotdb.db.query.executor.QueryRouter.rawDataQuery(QueryRouter.java:93)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.processDataQuery(PlanExecutor.java:546)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.processQuery(PlanExecutor.java:228)
        at org.apache.iotdb.db.service.TSServiceImpl.createQueryDataSet(TSServiceImpl.java:1110)
        at org.apache.iotdb.db.service.TSServiceImpl.internalExecuteQueryStatement(TSServiceImpl.java:738)
        at org.apache.iotdb.db.service.TSServiceImpl.executeQueryStatement(TSServiceImpl.java:636)
        at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeQueryStatement.getResult(TSIService.java:2423)
        at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeQueryStatement.getResult(TSIService.java:2403)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
        at org.apache.thrift.TBas
        ```

## 原因

用 0.13 的客户端连接了 0.12 的 server

## 解法

换成 0.12 的客户端
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Apache IoTDB Query is time out (-1ms) 的相关文章

随机推荐