HDFS-10404. Fix formatting of CacheAdmin command usage help text (Yiqun Lin via cmccabe)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7cd5ae62 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7cd5ae62 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7cd5ae62 Branch: refs/heads/HDFS-7240 Commit: 7cd5ae62f639a857f24f5463f2aefc099c631a14 Parents: 34fddd1 Author: Colin Patrick Mccabe <cmcc...@cloudera.com> Authored: Tue May 17 11:10:48 2016 -0700 Committer: Colin Patrick Mccabe <cmcc...@cloudera.com> Committed: Tue May 17 11:10:48 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java | 6 ++++-- .../src/site/markdown/CentralizedCacheManagement.md | 2 +- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/7cd5ae62/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java index 6888ea8..7912c3a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java @@ -443,7 +443,8 @@ public class CacheAdmin extends Configured implements Tool { @Override public String getShortUsage() { return "[" + getName() - + " [-stats] [-path <path>] [-pool <pool>] [-id <id>]\n"; + + " [-stats] [-path <path>] [-pool <pool>] [-id <id>]" + + "]\n"; } @Override @@ -554,7 +555,8 @@ public class CacheAdmin extends Configured implements Tool { public String getShortUsage() { return "[" + NAME + " <name> [-owner <owner>] " + "[-group <group>] [-mode <mode>] [-limit <limit>] " + - "[-maxTtl <maxTtl>]\n"; + "[-maxTtl <maxTtl>]" + + "]\n"; } @Override http://git-wip-us.apache.org/repos/asf/hadoop/blob/7cd5ae62/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/CentralizedCacheManagement.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/CentralizedCacheManagement.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/CentralizedCacheManagement.md index 72c125d..210d25c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/CentralizedCacheManagement.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/CentralizedCacheManagement.md @@ -157,7 +157,7 @@ List cache directives. #### addPool -Usage: `hdfs cacheadmin -addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxTtl <maxTtl`\> +Usage: `hdfs cacheadmin -addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxTtl <maxTtl>]` Add a new cache pool. http://git-wip-us.apache.org/repos/asf/hadoop/blob/7cd5ae62/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md index 13c5f0c..7c94e92 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -321,10 +321,10 @@ Usage: hdfs cacheadmin [-addDirective -path <path> -pool <pool-name> [-force] [-replication <replication>] [-ttl <time-to-live>]] hdfs cacheadmin [-modifyDirective -id <id> [-path <path>] [-force] [-replication <replication>] [-pool <pool-name>] [-ttl <time-to-live>]] - hdfs cacheadmin [-listDirectives [-stats] [-path <path>] [-pool <pool>] [-id <id>] + hdfs cacheadmin [-listDirectives [-stats] [-path <path>] [-pool <pool>] [-id <id>]] hdfs cacheadmin [-removeDirective <id>] hdfs cacheadmin [-removeDirectives -path <path>] - hdfs cacheadmin [-addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxTtl <maxTtl>] + hdfs cacheadmin [-addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxTtl <maxTtl>]] hdfs cacheadmin [-modifyPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxTtl <maxTtl>]] hdfs cacheadmin [-removePool <name>] hdfs cacheadmin [-listPools [-stats] [<name>]] --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org