[
https://issues.apache.org/jira/browse/HDFS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030391#comment-13030391
]
Harsh J Chouraria commented on HDFS-1636:
-----------------------------------------
I'd like some input on how to test if a case has called for CLI input or not?
Or I could whip up a t-case where if it does not hang waiting for a CLI input
would mean it passed (no real assertions?).
> 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