[ 
https://issues.apache.org/jira/browse/HDFS-8187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J.Andreina updated HDFS-8187:
-----------------------------
    Attachment: HDFS-8187.1.patch

Attached an initial patch.
Please review.

> Remove usage of "-setStoragePolicy" and "-getStoragePolicy" using dfsadmin 
> cmd (as it is not been supported)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8187
>                 URL: https://issues.apache.org/jira/browse/HDFS-8187
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.0.0
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>         Attachments: HDFS-8187.1.patch
>
>
> Remove usage of "-setStoragePolicy" and "-getStoragePolicy" using dfsadmin 
> cmd (as it is not been supported)
> Incorrect Usage in Document:
> {noformat}
> The storage policy can be specified using the "[`dfsadmin 
> -setStoragePolicy`](#Set_Storage_Policy)" command. 
> .
> .
> The effective storage policy can be retrieved by the "[`dfsadmin 
> -getStoragePolicy`](#Get_Storage_Policy)" command.
> {noformat}
> Correct Commands:
> {noformat}
> hdfs storagepolicies -getStoragePolicy -path <path>
> hdfs storagepolicies -setStoragePolicy -path <path> -policy <policy>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to