[ 
https://issues.apache.org/jira/browse/IOTDB-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jialin Qiao reassigned IOTDB-2645:
----------------------------------

    Assignee: Alima777

> Query occurs: java.io.IOException: Uncompress error!
> ----------------------------------------------------
>
>                 Key: IOTDB-2645
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2645
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.12.5-SNAPSHOT
>            Reporter: Jialin Qiao
>            Assignee: Alima777
>            Priority: Major
>              Labels: 0.12.5
>
> Uncompress a page meet IOException:
>  
> ```
> 2022-03-01 17:40:49,267 [pool-18-IoTDB-RPC-Client-1] WARN  
> o.a.i.d.s.TSServiceImpl:2031 - [INTERNAL_SERVER_ERROR] Exception occurred 
> while executing "select count(*) from root group by level=0".  
> java.util.concurrent.ExecutionException: java.io.IOException: Uncompress 
> error! uncompress size: 65409compressed size: 54347page header: 
> PageHeader\{uncompressedSize=65409, compressedSize=54347, 
> statistics=startTime: 1646065062774015736 endTime: 1646065062774031590 count: 
> 7928 
> [minValue:-2.18200684,maxValue:1.93786621,firstValue:-0.122070313,lastValue:-0.335693359,sumValue:-200.72937041360007]}FAILED_TO_UNCOMPRESS(5)
>     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl.submitQueryTask(TSServiceImpl.java:848)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl.executeStatement(TSServiceImpl.java:751)
>     at 
> org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2373)
>     at 
> org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2353)
>     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)
> Caused by: java.io.IOException: Uncompress error! uncompress size: 
> 65409compressed size: 54347page header: PageHeader\{uncompressedSize=65409, 
> compressedSize=54347, statistics=startTime: 1646065062774015736 endTime: 
> 1646065062774031590 count: 7928 
> [minValue:-2.18200684,maxValue:1.93786621,firstValue:-0.122070313,lastValue:-0.335693359,sumValue:-200.72937041360007]}FAILED_TO_UNCOMPRESS(5)
>     at 
> org.apache.iotdb.tsfile.read.reader.chunk.ChunkReader.constructPageReaderForNextPage(ChunkReader.java:167)
>     at 
> org.apache.iotdb.tsfile.read.reader.chunk.ChunkReader.initAllPageReaders(ChunkReader.java:94)
>     at 
> org.apache.iotdb.tsfile.read.reader.chunk.ChunkReader.<init>(ChunkReader.java:78)
>     at 
> org.apache.iotdb.db.utils.FileLoaderUtils.loadPageReaderList(FileLoaderUtils.java:174)
>     at 
> org.apache.iotdb.db.query.reader.series.SeriesReader.unpackOneChunkMetaData(SeriesReader.java:525)
>     at 
> org.apache.iotdb.db.query.reader.series.SeriesReader.unpackAllOverlappedChunkMetadataToPageReaders(SeriesReader.java:501)
>     at 
> org.apache.iotdb.db.query.reader.series.SeriesReader.hasNextPage(SeriesReader.java:432)
>     at 
> org.apache.iotdb.db.query.reader.series.SeriesAggregateReader.hasNextPage(SeriesAggregateReader.java:140)
>     at 
> org.apache.iotdb.db.query.executor.AggregationExecutor.aggregatePages(AggregationExecutor.java:319)
>     at 
> org.apache.iotdb.db.query.executor.AggregationExecutor.aggregateFromReader(AggregationExecutor.java:279)
>     at 
> org.apache.iotdb.db.query.executor.AggregationExecutor.aggregateOneSeries(AggregationExecutor.java:225)
>     at 
> org.apache.iotdb.db.query.executor.AggregationExecutor.aggregateOneSeries(AggregationExecutor.java:174)
>     at 
> org.apache.iotdb.db.query.executor.AggregationExecutor.executeWithoutValueFilter(AggregationExecutor.java:131)
>     at 
> org.apache.iotdb.db.query.executor.QueryRouter.aggregate(QueryRouter.java:137)
>     at 
> org.apache.iotdb.db.qp.executor.PlanExecutor.processDataQuery(PlanExecutor.java:539)
>     at 
> org.apache.iotdb.db.qp.executor.PlanExecutor.processQuery(PlanExecutor.java:228)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl.createQueryDataSet(TSServiceImpl.java:1148)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl.access$600(TSServiceImpl.java:157)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl$QueryTask.call(TSServiceImpl.java:284)
>     at 
> org.apache.iotdb.db.service.TSServiceImpl$QueryTask.call(TSServiceImpl.java:222)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     ... 3 common frames omitted
> ```



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to