[ https://issues.apache.org/jira/browse/HDFS-8630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Surendra Singh Lilhore updated HDFS-8630: ----------------------------------------- Attachment: HDFS-8630.patch Implemented webhdfs API for storage policy {noformat} curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=SETSTORAGEPOLICY[&storagepolicy=<NAME>]" curl -i "http://<HOST>:<PORT>/webhdfs/v1/?op=GETALLSTORAGEPOLICY {noformat} > WebHDFS : Support get/setStoragePolicy > --------------------------------------- > > Key: HDFS-8630 > URL: https://issues.apache.org/jira/browse/HDFS-8630 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: nijel > Assignee: Surendra Singh Lilhore > Attachments: HDFS-8630.patch > > > User can set and get the storage policy from filesystem object. Same > operation can be allowed trough REST API. -- This message was sent by Atlassian JIRA (v6.3.4#6332)