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 "Harsh J Chouraria (JIRA)" <ji...@apache.org> on 2011/05/07 18:34:03 UTC
[jira] [Updated] (HDFS-1636) If dfs.name.dir points to an empty
dir, namenode format shouldn't require confirmation
[ https://issues.apache.org/jira/browse/HDFS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J Chouraria updated HDFS-1636:
------------------------------------
Attachment: HDFS-1636.r1.diff
Patch that adds this new condition.
Would a test case also be required?
> If dfs.name.dir points to an empty dir, namenode format shouldn't require confirmation
> --------------------------------------------------------------------------------------
>
> Key: HDFS-1636
> URL: https://issues.apache.org/jira/browse/HDFS-1636
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Priority: Minor
> Attachments: HDFS-1636.r1.diff
>
>
> Right now, running namenode -format when dfs.name.dir is configured to a dir which exists but is empty still asks for confirmation. This is unnecessary since it isn't blowing away any real data.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira