You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/16 20:56:41 UTC

[jira] [Updated] (HDFS-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting

     [ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer updated HDFS-3275:
-----------------------------------
    Fix Version/s:     (was: 2.0.0-alpha)
                   2.0.2-alpha

> Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3275
>                 URL: https://issues.apache.org/jira/browse/HDFS-3275
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, namenode
>    Affects Versions: 2.0.0-alpha
>            Reporter: Vinithra Varadharajan
>            Assignee: amith
>             Fix For: 2.0.2-alpha
>
>         Attachments: HDFS-3275-4.patch, HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch
>
>
> To reproduce:
> # Configure a NameNode with namedirs and a shared edits dir, all of which are empty.
> # Run hdfs namenode -format. Namedirs and shared edits dir gets populated.
> # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents.
> # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)