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