HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu)

This commit is contained in:
yliu 2015-01-21 02:04:03 +08:00
parent 3f37354daa
commit 7b5aea8175
2 changed files with 14 additions and 11 deletions

View File

@ -463,6 +463,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

View File

@ -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. |
*----------------------------+-----------------------------------------------------+
[]