hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1905) Improve the usability of namenode -format
Date Thu, 19 May 2011 07:38:47 GMT

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

Hadoop QA commented on HDFS-1905:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12479685/HDFS-1905-2.patch
  against trunk revision 1124459.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    -1 core tests.  The patch failed these core unit tests:
                  org.apache.hadoop.hdfs.TestDFSStorageStateRecovery
                  org.apache.hadoop.hdfs.TestFileConcurrentReader
                  org.apache.hadoop.tools.TestJMXGet

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/583//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/583//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/583//console

This message is automatically generated.

> Improve the usability of namenode -format 
> ------------------------------------------
>
>                 Key: HDFS-1905
>                 URL: https://issues.apache.org/jira/browse/HDFS-1905
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Bharath Mundlapudi
>            Assignee: Bharath Mundlapudi
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1905-1.patch, HDFS-1905-2.patch
>
>
> While setting up 0.23 version based cluster, i ran into this issue. When i issue a format
namenode command, which got changed in 23, it should let the user know to how to use this
command in case where complete options were not specified.
> ./hdfs namenode -format
> I get the following error msg, still its not clear what and how user should use this
command.
> 11/05/09 15:36:25 ERROR namenode.NameNode: java.lang.IllegalArgumentException: Format
must be provided with clusterid
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1483)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1623)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1689)
>  
> The usability of this command can be improved.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message