hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11903) Cleaning up local storage when closing MiniOzoneCluster
Date Tue, 30 May 2017 22:02:04 GMT
Mingliang Liu created HDFS-11903:

             Summary: Cleaning up local storage when closing MiniOzoneCluster
                 Key: HDFS-11903
                 URL: https://issues.apache.org/jira/browse/HDFS-11903
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu

Currently we don't delete the local storage when closing {{MiniOzoneCluster}}, which will
cause creating volume with the same name to fail, even in a new JVM process. Let's delete
the local storage files: {{/tmp/ozone/metadata.db}} and {{/tmp/ozone/user.db}} when closing.

Please note this is not a complete solution. As the {{OzoneMetadataManager}}  currently is
a singleton, we are not able to create two independent MiniOzoneCluster in a single JVM. Data
maybe shared unexpectedly. Let's address that in another JIRA, if needed.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message