You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Liuxuxin (Jira)" <ji...@apache.org> on 2021/11/30 09:04:00 UTC

[jira] [Created] (IOTDB-2074) Fix NullPointerException when recovering compaction in MacOS

Liuxuxin created IOTDB-2074:
-------------------------------

             Summary: Fix NullPointerException when recovering compaction in MacOS
                 Key: IOTDB-2074
                 URL: https://issues.apache.org/jira/browse/IOTDB-2074
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Liuxuxin
            Assignee: Liuxuxin
             Fix For: 0.13.0
         Attachments: image-2021-11-30-09-00-54-672.png

## Description
When restarting IoTDB in MacOS, NullPointerException occurs and storage group failed to recover. 
!image-2021-11-30-09-00-54-672.png! 
## Cause
In MacOS, each directory contains a `.DS_store` file. 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.



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