[
https://issues.apache.org/jira/browse/HDFS-8187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinayakumar B updated HDFS-8187:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed to trunk and branch-2.
Thanks [~andreina]
> 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
> Fix For: 2.8.0
>
> 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)