hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1636) If dfs.name.dir points to an empty dir, namenode format shouldn't require confirmation
Date Thu, 02 Jun 2011 12:38:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042738#comment-13042738
] 

Hudson commented on HDFS-1636:
------------------------------

Integrated in Hadoop-Hdfs-trunk #685 (See [https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/685/])
    HDFS-1636. If dfs.name.dir points to an empty dir, namenode format shouldn't require confirmation.
Contributed by Harsh J Chouraria.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130318
Files : 
* /hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestAllowFormat.java
* /hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* /hadoop/hdfs/trunk/CHANGES.txt


> 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

Mime
View raw message