[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578683#comment-14578683
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #223 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/223/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578702#comment-14578702
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #953 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/953/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578965#comment-14578965
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #212 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/212/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578936#comment-14578936
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #2151 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2151/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14579030#comment-14579030
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #221 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/221/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14579079#comment-14579079
 ] 

Hudson commented on HDFS-8552:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2169 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2169/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-08 Thread Brahma Reddy Battula (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14577627#comment-14577627
 ] 

Brahma Reddy Battula commented on HDFS-8552:


[~xyao] Attached patch to address ZKFC and Namenode CLI usage..Y'day only I had 
raised for YARN and MR to handle CLI usage message..

Kindly review!!

 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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


[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578002#comment-14578002
 ] 

Hadoop QA commented on HDFS-8552:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  19m  9s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included |   0m  0s | The patch doesn't appear 
to include any new or modified tests.  Please justify why no new tests are 
needed for this patch. Also please list what manual steps were performed to 
verify this patch. |
| {color:green}+1{color} | javac |   7m 26s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 37s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 22s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   3m 18s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 32s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   5m  4s | The patch does not introduce 
any new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | common tests |  23m 44s | Tests passed in 
hadoop-common. |
| {color:red}-1{color} | hdfs tests | 161m  7s | Tests failed in hadoop-hdfs. |
| | | 231m 56s | |
\\
\\
|| Reason || Tests ||
| Failed unit tests | hadoop.hdfs.server.namenode.TestClusterId |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12738410/HDFS-8552-002.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 0e80d51 |
| hadoop-common test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11277/artifact/patchprocess/testrun_hadoop-common.txt
 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11277/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11277/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11277/console |


This message was automatically generated.

 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade 

[jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc

2015-06-08 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578352#comment-14578352
 ] 

Hudson commented on HDFS-8552:
--

SUCCESS: Integrated in Hadoop-trunk-Commit #7995 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/7995/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by 
Brahma Reddy Battula (xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java


 Fix hdfs CLI usage message for namenode and zkfc
 

 Key: HDFS-8552
 URL: https://issues.apache.org/jira/browse/HDFS-8552
 Project: Hadoop HDFS
  Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Brahma Reddy Battula
 Fix For: 2.8.0

 Attachments: HDFS-8552-002.patch, HDFS-8552.patch


 The usage message from code does not match with the one documented. 
 1. java NameNode should be hdfs namenode
 -2. Many of options are not documented.-
 Usage message from code:
 {code}
   private static final String USAGE = Usage: java NameNode [
   + StartupOption.BACKUP.getName() + ] | \n\t[
   + StartupOption.CHECKPOINT.getName() + ] | \n\t[
   + StartupOption.FORMAT.getName() +  [
   + StartupOption.CLUSTERID.getName() +  cid ] [
   + StartupOption.FORCE.getName() + ] [
   + StartupOption.NONINTERACTIVE.getName() + ] ] | \n\t[
   + StartupOption.UPGRADE.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.UPGRADEONLY.getName() + 
  [ + StartupOption.CLUSTERID.getName() +  cid] +
  [ + StartupOption.RENAMERESERVED.getName() + k-v pairs] ] | 
 \n\t[
   + StartupOption.ROLLBACK.getName() + ] | \n\t[
   + StartupOption.ROLLINGUPGRADE.getName() +  
   + RollingUpgradeStartupOption.getAllOptionString() +  ] | \n\t[
   + StartupOption.IMPORT.getName() + ] | \n\t[
   + StartupOption.INITIALIZESHAREDEDITS.getName() + ] | \n\t[
   + StartupOption.BOOTSTRAPSTANDBY.getName() + ] | \n\t[
   + StartupOption.RECOVER.getName() +  [ 
   + StartupOption.FORCE.getName() + ] ] | \n\t[
   + StartupOption.METADATAVERSION.getName() +  ] 
   +  ];
 {code}
 Usage from document:
 hdfs namenode [-backup] |
   [-checkpoint] |
   [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
   [-upgrade [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-upgradeOnly [-clusterid cid] [-renameReservedk-v pairs] ] |
   [-rollback] |
   [-rollingUpgrade downgrade |rollback ] |
   [-finalize] |
   [-importCheckpoint] |
   [-initializeSharedEdits] |
   [-bootstrapStandby] |
   [-recover [-force] ] |
   [-metadataVersion ]



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