[jira] [Commented] (HDFS-6832) Fix the usage of 'hdfs namenode' command

2016-02-18 Thread Manjunath Ballur (JIRA)

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

Manjunath Ballur commented on HDFS-6832:


Thanks Akira for the review. I was checking these test cases individually. . 
Also, since the patch is trivial, there is no need for a test case.

> Fix the usage of 'hdfs namenode' command
> 
>
> Key: HDFS-6832
> URL: https://issues.apache.org/jira/browse/HDFS-6832
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.4.1
>Reporter: Akira AJISAKA
>Assignee: Manjunath Ballur
>Priority: Minor
>  Labels: newbie
> Fix For: 2.8.0
>
> Attachments: hdfs-6832.txt, hdfs-6832_001.txt, hdfs-6832_002.txt, 
> hdfs-6832_003.txt
>
>
> {code}
> [root@trunk ~]# hdfs namenode -help
> Usage: java NameNode [-backup] | 
>   [-checkpoint] | 
>   [-format [-clusterid cid ] [-force] [-nonInteractive] ] | 
>   [-upgrade [-clusterid cid] [-renameReserved] ] | 
>   [-upgradeOnly [-clusterid cid] [-renameReserved] ] | 
>   [-rollback] | 
>   [-rollingUpgrade  ] | 
>   [-finalize] | 
>   [-importCheckpoint] | 
>   [-initializeSharedEdits] | 
>   [-bootstrapStandby] | 
>   [-recover [ -force] ] | 
>   [-metadataVersion ]  ]
> {code}
> There're some issues in the usage to be fixed.
> # "Usage: java NameNode" should be "Usage: hdfs namenode"
> # -rollingUpgrade started option should be added
> # The last ']' should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-6832) Fix the usage of 'hdfs namenode' command

2016-02-18 Thread Manjunath Ballur (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manjunath Ballur updated HDFS-6832:
---
Attachment: hdfs-6832_003.txt

Fix for the redundant "]" character at the end of the help. Other 2 issues are 
already fixed.

> Fix the usage of 'hdfs namenode' command
> 
>
> Key: HDFS-6832
> URL: https://issues.apache.org/jira/browse/HDFS-6832
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.4.1
>Reporter: Akira AJISAKA
>Assignee: Manjunath Ballur
>Priority: Minor
>  Labels: newbie
> Attachments: hdfs-6832.txt, hdfs-6832_001.txt, hdfs-6832_002.txt, 
> hdfs-6832_003.txt
>
>
> {code}
> [root@trunk ~]# hdfs namenode -help
> Usage: java NameNode [-backup] | 
>   [-checkpoint] | 
>   [-format [-clusterid cid ] [-force] [-nonInteractive] ] | 
>   [-upgrade [-clusterid cid] [-renameReserved] ] | 
>   [-upgradeOnly [-clusterid cid] [-renameReserved] ] | 
>   [-rollback] | 
>   [-rollingUpgrade  ] | 
>   [-finalize] | 
>   [-importCheckpoint] | 
>   [-initializeSharedEdits] | 
>   [-bootstrapStandby] | 
>   [-recover [ -force] ] | 
>   [-metadataVersion ]  ]
> {code}
> There're some issues in the usage to be fixed.
> # "Usage: java NameNode" should be "Usage: hdfs namenode"
> # -rollingUpgrade started option should be added
> # The last ']' should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (HDFS-6832) Fix the usage of 'hdfs namenode' command

2016-02-16 Thread Manjunath Ballur (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manjunath Ballur reassigned HDFS-6832:
--

Assignee: Manjunath Ballur  (was: skrho)

> Fix the usage of 'hdfs namenode' command
> 
>
> Key: HDFS-6832
> URL: https://issues.apache.org/jira/browse/HDFS-6832
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.4.1
>Reporter: Akira AJISAKA
>Assignee: Manjunath Ballur
>Priority: Minor
>  Labels: newbie
> Attachments: hdfs-6832.txt, hdfs-6832_001.txt, hdfs-6832_002.txt
>
>
> {code}
> [root@trunk ~]# hdfs namenode -help
> Usage: java NameNode [-backup] | 
>   [-checkpoint] | 
>   [-format [-clusterid cid ] [-force] [-nonInteractive] ] | 
>   [-upgrade [-clusterid cid] [-renameReserved] ] | 
>   [-upgradeOnly [-clusterid cid] [-renameReserved] ] | 
>   [-rollback] | 
>   [-rollingUpgrade  ] | 
>   [-finalize] | 
>   [-importCheckpoint] | 
>   [-initializeSharedEdits] | 
>   [-bootstrapStandby] | 
>   [-recover [ -force] ] | 
>   [-metadataVersion ]  ]
> {code}
> There're some issues in the usage to be fixed.
> # "Usage: java NameNode" should be "Usage: hdfs namenode"
> # -rollingUpgrade started option should be added
> # The last ']' should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-6795) docs update for -format command for namenode for Federation ( HDFS-1394 )

2016-02-16 Thread Manjunath Ballur (JIRA)

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

Manjunath Ballur commented on HDFS-6795:


The documentation here: 
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html
 contains the correct details. Should we close this ticket?

> docs update for -format command for namenode for Federation ( HDFS-1394 )
> -
>
> Key: HDFS-6795
> URL: https://issues.apache.org/jira/browse/HDFS-6795
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: documentation
>Reporter: Boris Shkolnik
>Assignee: Boris Shkolnik
>  Labels: newbie
>
> new format for -format command is:
> namenode -format -clusterid cid
> hdfs user guide needs to be updated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-6832) Fix the usage of 'hdfs namenode' command

2016-02-16 Thread Manjunath Ballur (JIRA)

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

Manjunath Ballur commented on HDFS-6832:


I checked the code in trunk. This has been fixed, except for the extra "]" in 
the end. I would like to submit that change.

> Fix the usage of 'hdfs namenode' command
> 
>
> Key: HDFS-6832
> URL: https://issues.apache.org/jira/browse/HDFS-6832
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.4.1
>Reporter: Akira AJISAKA
>Assignee: skrho
>Priority: Minor
>  Labels: newbie
> Attachments: hdfs-6832.txt, hdfs-6832_001.txt, hdfs-6832_002.txt
>
>
> {code}
> [root@trunk ~]# hdfs namenode -help
> Usage: java NameNode [-backup] | 
>   [-checkpoint] | 
>   [-format [-clusterid cid ] [-force] [-nonInteractive] ] | 
>   [-upgrade [-clusterid cid] [-renameReserved] ] | 
>   [-upgradeOnly [-clusterid cid] [-renameReserved] ] | 
>   [-rollback] | 
>   [-rollingUpgrade  ] | 
>   [-finalize] | 
>   [-importCheckpoint] | 
>   [-initializeSharedEdits] | 
>   [-bootstrapStandby] | 
>   [-recover [ -force] ] | 
>   [-metadataVersion ]  ]
> {code}
> There're some issues in the usage to be fixed.
> # "Usage: java NameNode" should be "Usage: hdfs namenode"
> # -rollingUpgrade started option should be added
> # The last ']' should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-336) dfsadmin -report should report number of blocks from datanode

2015-10-21 Thread Manjunath Ballur (JIRA)

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

Manjunath Ballur commented on HDFS-336:
---

Hi Harsh, I am a newbie. I would like to take this up. Do you think, it still 
makes sense to have this feature?

> dfsadmin -report should report number of blocks from datanode
> -
>
> Key: HDFS-336
> URL: https://issues.apache.org/jira/browse/HDFS-336
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Reporter: Lohit Vijayarenu
>Priority: Minor
>  Labels: newbie
>
> _hadoop dfsadmin -report_ seems to miss number of blocks from a datanode. 
> Number of blocks hosted by a datanode is a good info which should be included 
> in the report. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)