HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu)
This commit is contained in:
parent
fc20129c56
commit
889ab074d5
@ -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
|
||||
|
@ -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. |
|
||||
*----------------------------+-----------------------------------------------------+
|
||||
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user