[
https://issues.apache.org/jira/browse/HDFS-7323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7323:
----------------------------
Attachment: HDFS-7323.002.patch
Thanks very much for the review, Yi!
TestStoragePolicyCommands needs to be updated since it still tested the
DFSAdmin. Update the patch to fix the test failures and address the first
comment from Yi.
bq. it would be great if you can refine and shift them into a common place
Yes, I will do that in a separate jira.
> Move the get/setStoragePolicy commands out from dfsadmin
> --------------------------------------------------------
>
> Key: HDFS-7323
> URL: https://issues.apache.org/jira/browse/HDFS-7323
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Jing Zhao
> Attachments: HDFS-7323.000.patch, HDFS-7323.001.nocmd.patch,
> HDFS-7323.001.patch, HDFS-7323.002.patch
>
>
> After HDFS-7093, setting storage policy no longer requires superuser
> privilege. We should move the get/setStoragePolicy commands out from
> dfsadmin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)