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

Fix NullPointerException when recovering compaction in MacOS

    XMLWordPrintableJSON

Details

    • 2021-11-Dragon

    Description

        1. Description
          When restarting IoTDB in MacOS, NullPointerException occurs and storage group failed to recover.
        2. Cause
          In MacOS, each directory contains a `.DS_store` file. The .DS_store under virtual storage group will cause problem. When recovering compaction, IoTDB will search compaction log in each data directory, and it will treat .DS_store as a folder by mistake, which leads to NullPointException.

      Attachments

        1. image-2021-11-30-21-44-43-599.png
          22 kB
          Jialin Qiao
        2. image-2021-11-30-09-00-54-672.png
          168 kB
          Liuxuxin

        Activity

          People

            ChouBenson 周沛辰
            ThuLiuxuxin Liuxuxin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified