hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9534) Add CLI command to clear storage policy from a path.
Date Tue, 19 Jan 2016 07:08:39 GMT

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

Jing Zhao commented on HDFS-9534:

Currently unspecified policy means using the default policy. Thus I do not think we need an
explicit policy named "UNSPECIFIED".

In the meanwhile, how should the semantic of the remove op look like? If we have set a storage
policy on "/foo", then should we allow the user to apply the command on "/foo/bar" if bar
is not associated with any explicit policy? Or what if we have nested policy settings? I think
we may need to list all the scenarios and clearly define their semantic first.

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