You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/03/04 01:42:00 UTC

[jira] [Commented] (IOTDB-2645) Query occurs: java.io.IOException: Uncompress error!

    [ https://issues.apache.org/jira/browse/IOTDB-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501097#comment-17501097 ] 

Haonan Hou commented on IOTDB-2645:
-----------------------------------

21305731| [TimeseriesIndex] of root.Baoshan.S.310709M01.09."加速度".5000.16384.Value, tsDataType:DOUBLE
                    |  [ChunkIndex] Value, offset=20178165
                    |  [ChunkIndex] Value, offset=8725785
                    |  [startTime: 0 endTime: 1646065062774031590 count: 48564 [minValue:-3.89099121,maxValue:2.71606445,firstValue:0.0,lastValue:-0.335693359,sumValue:-296.37145847520054]]

> 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: Kaifeng Xue
>            Priority: Major
>              Labels: 0.12.5
>
> Uncompress a page meet IOException:
>  
>  
> {code:java}
> 2022-03-01 17:40:49,226 [pool-59-IoTDB-Query-1] ERROR o.a.i.d.u.FileLoaderUtils:179 - Something wrong happened while reading chunk from D:\apache-iotdb-0.12.5-SNAPSHOT-all-bin_xiu_zheng_03_01\apache-iotdb-0.12.5-SNAPSHOT-all-bin\data\data\sequence\root.Baoshan\4\0\1646125568842-26-0-0.tsfile
> 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
> {code}



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