[
https://issues.apache.org/jira/browse/HDFS-8631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Surendra Singh Lilhore updated HDFS-8631:
-----------------------------------------
Attachment: HDFS-8631-001.patch
Attached Patch...
Added two new webhdfs API for set quota.
{code}
public void setQuota(Path path, long namespaceQuota, long storagespaceQuota)
public void setQuotaByStorageType(Path path, StorageType type, long quota)
{code}
For getting quota already {{getContentSummary()}} API available
Please review...
> WebHDFS : Support list/setQuota
> -------------------------------
>
> Key: HDFS-8631
> URL: https://issues.apache.org/jira/browse/HDFS-8631
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: nijel
> Assignee: Surendra Singh Lilhore
> Attachments: HDFS-8631-001.patch
>
>
> User is able do quota management from filesystem object. Same operation can
> be allowed trough REST API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)