hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8187) Remove usage of "-setStoragePolicy" and "-getStoragePolicy" using dfsadmin cmd (as it is not been supported)
Date Fri, 08 May 2015 08:29:00 GMT

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

Vinayakumar B commented on HDFS-8187:
-------------------------------------

+1 for the patch.
Will commit soon.

> 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
>              Labels: BB2015-05-RFC
>         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)

Mime
View raw message