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

[ stop iotdb ] Compaction java.io.FileNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.14.0-SNAPSHOT
    • None
    • Core/Compaction
    • None

    Description

      master 600ba97481cc57dc5dedd27a3dceacd8b45419a5
      问题描述:
      数据库在stop时,
      2022-04-14 20:40:13,247 [pool-6-IoTDB-Compaction-1] ERROR o.a.i.d.e.c.i.InnerSpaceCompactionTask:197 - root.test.g_36-0 [Compaction] Throwable is caught during execution of SizeTieredCompaction, {}
      java.io.FileNotFoundException: /data/iotdb_data/data/sequence/root.test.g_36/0/0/1649937801257-901-1-0.inner.inner-compaction.log (No such file or directory)
      at java.io.FileOutputStream.open0(Native Method)
      at java.io.FileOutputStream.open(FileOutputStream.java:270)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
      at java.io.FileWriter.<init>(FileWriter.java:107)
      at org.apache.iotdb.db.engine.compaction.log.CompactionLogger.<init>(CompactionLogger.java:52)
      at org.apache.iotdb.db.engine.compaction.inner.InnerSpaceCompactionTask.doCompaction(InnerSpaceCompactionTask.java:114)
      at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:72)
      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. 机器信息 8C32G * 2
      私有云 iotdb :172.20.70.2
      benchmark:172.20.70.16

      数据库配置参数
      fsync_wal_delay_in_ms=0
      wal_buffer_size_in_byte=1048576
      wal_buffer_queue_capacity=1000

      benchmark配置参数见附件

      2. benchmark执行完之后调用的命令
      ${iotdb_dir}/sbin/start-cli.sh -e* "flush"*
      killall java
      ${iotdb_dir}/sbin/stop-server.sh

      Attachments

        1. config.properties.bk
          14 kB
          刘珍

        Activity

          People

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

            Dates

              Created:
              Updated: