You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2022/06/08 06:47:00 UTC
[jira] [Commented] (IOTDB-3384) [ query ] fetchResults failed. The validated expression is false
[ https://issues.apache.org/jira/browse/IOTDB-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551417#comment-17551417 ]
Yuan Tian commented on IOTDB-3384:
----------------------------------
Debug后发现,SinkHandle计算出来的TsBlock的retainedSize与SourceHandle收到之后反序列化出来的TsBlock的retainedSize不一致(可以见log.txt),进一步跟踪代码,发现序列化时将RunLengthEncodedColumn当成普通的Column去序列化了,导致反序列时,并没有将其反序列化成[^log.txt]
> [ query ] fetchResults failed. The validated expression is false
> ----------------------------------------------------------------
>
> Key: IOTDB-3384
> URL: https://issues.apache.org/jira/browse/IOTDB-3384
> Project: Apache IoTDB
> Issue Type: Bug
> Components: mpp-cluster
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: 刘珍
> Assignee: Yuan Tian
> Priority: Major
> Attachments: config.properties, fetchResults_failed.zip, image-2022-06-02-17-15-55-192.png, log.txt
>
>
> master_0602_93dae13
> 3副本3节点,benchmark运行起来15分钟后
> ip-4 cli执行select s_4 from root.** align by device;
> 2022-06-02 17:04:21,524 [pool-7-IoTDB-RPC-Client-20] WARN o.a.i.d.u.ErrorHandlingUtils:62 - {color:red}*Status code: INTERNAL_SERVER_ERROR(500), operation: fetchResults failed
> java.lang.IllegalArgumentException: The validated expression is false*{color}
> at org.apache.commons.lang3.Validate.isTrue(Validate.java:183)
> at org.apache.iotdb.db.mpp.execution.memory.MemoryPool.free(MemoryPool.java:162)
> at org.apache.iotdb.db.mpp.execution.datatransfer.SourceHandle.receive(SourceHandle.java:123)
> at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.getBatchResult(QueryExecution.java:284)
> at org.apache.iotdb.db.utils.QueryDataSetUtils.convertTsBlockByFetchSize(QueryDataSetUtils.java:200)
> at org.apache.iotdb.db.service.thrift.impl.DataNodeTSIServiceImpl.fetchResults(DataNodeTSIServiceImpl.java:614)
> at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$fetchResults.getResult(TSIService.java:2953)
> at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$fetchResults.getResult(TSIService.java:2933)
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
> at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 复现流程:
> 1. 192.168.130.3/4/5 16C32G
> 记作ip-3,ip-4,ip-5
> 2. benchmark 运行附件中的配置
> 192.168.130.2 /home/benchmark/bm_0527_e7b23aa
> 连ip-3
> 3. 15分钟后 ip-4 cli 执行查询
> select s_4 from root.** align by device;
> !image-2022-06-02-17-15-55-192.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)