HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by Brahma Reddy Battula
(cherry picked from commit 927577c87c
)
This commit is contained in:
parent
5a002aef12
commit
116a72096d
|
@ -84,7 +84,7 @@ public abstract class ZKFailoverController {
|
||||||
};
|
};
|
||||||
|
|
||||||
protected static final String USAGE =
|
protected static final String USAGE =
|
||||||
"Usage: java zkfc [ -formatZK [-force] [-nonInteractive] ]";
|
"Usage: hdfs zkfc [ -formatZK [-force] [-nonInteractive] ]";
|
||||||
|
|
||||||
/** Unable to format the parent znode in ZK */
|
/** Unable to format the parent znode in ZK */
|
||||||
static final int ERR_CODE_FORMAT_DENIED = 2;
|
static final int ERR_CODE_FORMAT_DENIED = 2;
|
||||||
|
|
|
@ -272,6 +272,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-8553. Document hdfs class path options.
|
HDFS-8553. Document hdfs class path options.
|
||||||
(Brahma Reddy Battula via cnauroth)
|
(Brahma Reddy Battula via cnauroth)
|
||||||
|
|
||||||
|
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc.
|
||||||
|
(Brahma Reddy Battula via xyao)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||||
|
|
|
@ -245,7 +245,7 @@ public class NameNode implements NameNodeStatusMXBean {
|
||||||
DFS_HA_AUTO_FAILOVER_ENABLED_KEY
|
DFS_HA_AUTO_FAILOVER_ENABLED_KEY
|
||||||
};
|
};
|
||||||
|
|
||||||
private static final String USAGE = "Usage: java NameNode ["
|
private static final String USAGE = "Usage: hdfs namenode ["
|
||||||
+ StartupOption.BACKUP.getName() + "] | \n\t["
|
+ StartupOption.BACKUP.getName() + "] | \n\t["
|
||||||
+ StartupOption.CHECKPOINT.getName() + "] | \n\t["
|
+ StartupOption.CHECKPOINT.getName() + "] | \n\t["
|
||||||
+ StartupOption.FORMAT.getName() + " ["
|
+ StartupOption.FORMAT.getName() + " ["
|
||||||
|
|
Loading…
Reference in New Issue