Repository: hadoop Updated Branches: refs/heads/trunk fc20129c5 -> 889ab074d
HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/889ab074 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/889ab074 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/889ab074 Branch: refs/heads/trunk Commit: 889ab074d54bda643899cdfc2ded58625524465e Parents: fc20129 Author: yliu <[email protected]> Authored: Wed Jan 21 02:06:18 2015 +0800 Committer: yliu <[email protected]> Committed: Wed Jan 21 02:06:18 2015 +0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../src/site/apt/ArchivalStorage.apt.vm | 22 ++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/889ab074/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 932fee8..964e278 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -741,6 +741,9 @@ Release 2.7.0 - UNRELEASED HDFS-7637. Fix the check condition for reserved path. (Yi Liu via jing9) + HDFS-7641. Update archival storage user doc for list/set/get block storage + policies. (yliu) + Release 2.6.1 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/889ab074/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm index 69674c7..5336ea3 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm @@ -189,7 +189,7 @@ hdfs mover [-p <files/dirs> | -f <local file name>] * Command: +------------------------------------------+ -hdfs storagepolicies +hdfs storagepolicies -listPolicies +------------------------------------------+ * Arguments: none. @@ -201,16 +201,16 @@ hdfs storagepolicies * Command: +------------------------------------------+ -hdfs dfsadmin -setStoragePolicy <path> <policyName> +hdfs storagepolicies -setStoragePolicy -path <path> -policy <policy> +------------------------------------------+ * Arguments: -*----------------------+-----------------------------------------------------+ -| <<<\<path\>>>> | The path referring to either a directory or a file. | -*----------------------+-----------------------------------------------------+ -| <<<\<policyName\>>>> | The name of the storage policy. | -*----------------------+-----------------------------------------------------+ +*--------------------------+-----------------------------------------------------+ +| <<<-path \<path\>>>> | The path referring to either a directory or a file. | +*--------------------------+-----------------------------------------------------+ +| <<<-policy \<policy\>>>> | The name of the storage policy. | +*--------------------------+-----------------------------------------------------+ [] @@ -221,13 +221,13 @@ hdfs dfsadmin -setStoragePolicy <path> <policyName> * Command: +------------------------------------------+ -hdfs dfsadmin -getStoragePolicy <path> +hdfs storagepolicies -getStoragePolicy -path <path> +------------------------------------------+ * Arguments: -*----------------------+-----------------------------------------------------+ -| <<<\<path\>>>> | The path referring to either a directory or a file. | -*----------------------+-----------------------------------------------------+ +*----------------------------+-----------------------------------------------------+ +| <<<-path \<path\>>>> | The path referring to either a directory or a file. | +*----------------------------+-----------------------------------------------------+ []
