J.Andreina created HDFS-8187:
--------------------------------

             Summary: 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
            Reporter: J.Andreina
            Assignee: J.Andreina


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