[ https://issues.apache.org/jira/browse/HDFS-9534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105595#comment-15105595 ]
Xiaobing Zhou commented on HDFS-9534: ------------------------------------- Thanks [~walter.k.su], do you think what semantic of 'removeStoragePolicy' should be? My understanding is to set it to UNSPECIFIED_STORAGE_POLICY_ID in a way like the dir/file is newly created without storage policy specified. I was also thinking of setting it to default storage policy, but the former is better IMO. > 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 (v6.3.4#6332)