[ https://issues.apache.org/jira/browse/HDFS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-1636: ------------------------------ Resolution: Fixed Release Note: If dfs.name.dir points to an empty dir, namenode -format no longer requires confirmation. (was: If dfs.name.dir points to an empty dir, namenode format shouldn't require confirmation.) Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Harsh! > 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 > Assignee: Harsh J Chouraria > Priority: Minor > Fix For: 0.23.0 > > Attachments: HDFS-1636.r1.diff, HDFS-1636.r2.diff, HDFS-1636.r3.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