Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-3813

[ stop-server.sh & compaction ] [pool-8-IoTDB-Compaction-6] ERROR o.a.i.t.r.TsFileSequenceReader:1089 - Exception happened while reading chunk of xx ; java.nio.channels.ClosedByInterruptException: null

    XMLWordPrintableJSON

Details

    • 2022-7-Cluster

    Description

      rel/0.13 89d750ca2b2e9ece690e28cbb189be655c0a80e3
      读写混合操作,写入顺序数据(对齐序列),正常停止iotdb 报错:

      2022-07-13 11:24:52,009 [pool-8-IoTDB-Compaction-6] ERROR o.a.i.t.r.r.LocalTsFileInput:92 - Error happened while reading ./sbin/../data/data/sequence/root.test.g_7/0/0/1657682342332-63-0-0.tsfile from position 4420777
      2022-07-13 11:24:52,011 [pool-8-IoTDB-Compaction-6] ERROR o.a.i.t.r.TsFileSequenceReader:1053 - Exception happened while reading chunk header of ./sbin/../data/data/sequence/root.test.g_7/0/0/1657682342332-63-0-0.tsfile
      java.nio.channels.ClosedByInterruptException: null
      at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
      at sun.nio.ch.FileChannelImpl.readInternal(FileChannelImpl.java:746)
      at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:727)
      at org.apache.iotdb.tsfile.read.reader.LocalTsFileInput.read(LocalTsFileInput.java:90)
      at org.apache.iotdb.tsfile.file.header.ChunkHeader.deserializeFrom(ChunkHeader.java:177)
      at org.apache.iotdb.tsfile.read.TsFileSequenceReader.readChunkHeader(TsFileSequenceReader.java:1051)
      at org.apache.iotdb.tsfile.read.TsFileSequenceReader.readMemChunk(TsFileSequenceReader.java:1083)
      at org.apache.iotdb.tsfile.read.TsFileAlignedSeriesReaderIterator.nextReader(TsFileAlignedSeriesReaderIterator.java:64)
      at org.apache.iotdb.db.engine.compaction.inner.utils.AlignedSeriesCompactionExecutor.execute(AlignedSeriesCompactionExecutor.java:122)
      at org.apache.iotdb.db.engine.compaction.inner.utils.InnerSpaceCompactionUtils.compactAlignedSeries(InnerSpaceCompactionUtils.java:147)
      at org.apache.iotdb.db.engine.compaction.inner.utils.InnerSpaceCompactionUtils.compact(InnerSpaceCompactionUtils.java:80)
      at org.apache.iotdb.db.engine.compaction.inner.sizetiered.SizeTieredCompactionTask.doCompaction(SizeTieredCompactionTask.java:122)
      at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:69)
      at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:39)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      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.10.68 72C256G
      数据库默认配置参数。

      2. bm 运行附件中的脚本(对齐序列)

      3. bm写入完成,正常停止数据库
      ./sbin/stop-server.sh
      有error。

      Attachments

        1. iotdb_进程不退出_log_all.log
          3.86 MB
          刘珍
        2. insert_is_overflow.config.properties
          14 kB
          刘珍
        3. log_all.log
          3.52 MB
          刘珍
        4. config.properties
          14 kB
          刘珍

        Activity

          People

            ThuLiuxuxin Liuxuxin
            刘珍 刘珍
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: