hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9534) Add CLI command to clear storage policy from a path.
Date Sat, 27 Feb 2016 01:05:18 GMT

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

Xiaobing Zhou commented on HDFS-9534:

Thanks [~arpitagarwal]. 003 patch addressed 1/2/3/4 except  'one check that unsetPolicy is
correctly applied from the edit log on restart'. The reason is that the unset reused setStoragePolicy
implementation, whatever edit log works for set works for unset too. Do you agree?

> Add CLI command to clear storage policy from a path.
> ----------------------------------------------------
>                 Key: HDFS-9534
>                 URL: https://issues.apache.org/jira/browse/HDFS-9534
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>            Reporter: Chris Nauroth
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-9534.001.patch, HDFS-9534.002.patch, HDFS-9534.003.patch
> The {{hdfs storagepolicies}} command has sub-commands for {{-setStoragePolicy}} and {{-getStoragePolicy}}
on a path.  However, there is no {{-removeStoragePolicy}} to remove a previously set storage
policy on a path.

This message was sent by Atlassian JIRA

View raw message