[ 
https://issues.apache.org/jira/browse/HDFS-8187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534692#comment-14534692
 ] 

Hudson commented on HDFS-8187:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2119 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2119/])
HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using 
dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina) 
(vinayakumarb: rev e642eff0e0065d1c504e41bc87993948b4bc073c)
* hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md


> 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)

Reply via email to