HDFS-6832. Fix the usage of 'hdfs namenode' command. Contributed by Manjunath Ballur.

(cherry picked from commit e78d8e66f7)
(cherry picked from commit c183f235f1)
This commit is contained in:
Akira Ajisaka 2016-02-19 01:35:06 +09:00
parent f18d092bda
commit a06036bb1e
2 changed files with 4 additions and 2 deletions

View File

@ -1774,6 +1774,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9799. Reimplement getCurrentTrashDir to remove incompatibility. (zhz) HDFS-9799. Reimplement getCurrentTrashDir to remove incompatibility. (zhz)
HDFS-6832. Fix the usage of 'hdfs namenode' command.
(Manjunath Ballur via aajisaka)
Release 2.7.3 - UNRELEASED Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -282,8 +282,7 @@ public class NameNode implements NameNodeStatusMXBean {
+ StartupOption.BOOTSTRAPSTANDBY.getName() + "] | \n\t[" + StartupOption.BOOTSTRAPSTANDBY.getName() + "] | \n\t["
+ StartupOption.RECOVER.getName() + " [ " + StartupOption.RECOVER.getName() + " [ "
+ StartupOption.FORCE.getName() + "] ] | \n\t[" + StartupOption.FORCE.getName() + "] ] | \n\t["
+ StartupOption.METADATAVERSION.getName() + " ] " + StartupOption.METADATAVERSION.getName() + " ]";
+ " ]";
public long getProtocolVersion(String protocol, public long getProtocolVersion(String protocol,