hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12420) Disable Namenode format when data already exist
Date Mon, 11 Sep 2017 21:32:00 GMT

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

Ajay Kumar updated HDFS-12420:
------------------------------
    Description: Disable NameNode format to avoid accidental formatting of Namenode in production
cluster. If someone really wants to delete the complete fsImage they can first delete the
metadata dir and then run {code} hdfs namenode -format{code} manually.  (was: While Formatting
NameNode user should be informed that this will result in complete loss of data. In addition
to current message we should display:
"This will result in complete loss of all cluster data.")

> Disable Namenode format when data already exist
> -----------------------------------------------
>
>                 Key: HDFS-12420
>                 URL: https://issues.apache.org/jira/browse/HDFS-12420
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ajay Kumar
>
> Disable NameNode format to avoid accidental formatting of Namenode in production cluster.
If someone really wants to delete the complete fsImage they can first delete the metadata
dir and then run {code} hdfs namenode -format{code} manually.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message