[ https://issues.apache.org/jira/browse/HDFS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030383#comment-13030383 ]
Aaron T. Myers commented on HDFS-1636: -------------------------------------- Hey Harsh, a test case is always strongly encouraged, especially when it's an easy test case to write like this would be. > 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 > 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