HDFS-9777. Fix typos in DFSAdmin command line and documentation.(Wei-Chiu Chuang via umamahesh)
This commit is contained in:
parent
193d27de0a
commit
bffaa38a91
@ -133,7 +133,7 @@ public enum RollingUpgradeAction {
|
||||
}
|
||||
}
|
||||
|
||||
/** Covert the given String to a RollingUpgradeAction. */
|
||||
/** Convert the given String to a RollingUpgradeAction. */
|
||||
public static RollingUpgradeAction fromString(String s) {
|
||||
return MAP.get(StringUtils.toUpperCase(s));
|
||||
}
|
||||
|
@ -1887,6 +1887,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-9503. Use generic option -fs for NNThroughputBenchmark instead of
|
||||
-namenode. (Mingliang Liu via shv)
|
||||
|
||||
HDFS-9777. Fix typos in DFSAdmin command line and documentation.
|
||||
(Wei-Chiu Chuang via umamahesh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||
|
@ -3308,7 +3308,7 @@ order written.</p>]]>
|
||||
deprecated="not deprecated">
|
||||
<param name="s" type="java.lang.String"/>
|
||||
<doc>
|
||||
<![CDATA[Covert the given String to a RollingUpgradeAction.]]>
|
||||
<![CDATA[Convert the given String to a RollingUpgradeAction.]]>
|
||||
</doc>
|
||||
</method>
|
||||
</class>
|
||||
|
@ -372,7 +372,7 @@ static int run(DistributedFileSystem dfs, String[] argv, int idx) throws IOExcep
|
||||
final RollingUpgradeAction action = RollingUpgradeAction.fromString(
|
||||
argv.length >= 2? argv[1]: "");
|
||||
if (action == null) {
|
||||
throw new IllegalArgumentException("Failed to covert \"" + argv[1]
|
||||
throw new IllegalArgumentException("Failed to convert \"" + argv[1]
|
||||
+"\" to " + RollingUpgradeAction.class.getSimpleName());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user