Open maheshnagaraj opened 10 years ago
Hi, You could use getcontentsummary() to display what quotas are currently set, but it doesn't appear that it's possible to manage quotas using WebHDFS.
I reviewed the API docs and didn't see a way to set a HDFS quota.
While looking into this, I did come across https://issues.apache.org/jira/browse/HDFS-6192 and I am now following the Jira. If WebHDFS gets updates for manipulating quotas, I'll be sure to add them.
For now you'll need to shell out to either 'hadoop dfsadmin' for hadoop 1.x or 'hdfs dfsadmin' for hadoop 2.x to set quotas.
Hi opsmekanix:
Any progress about this issue? I still didn't see a way to set a HDFS quota in hadoop 2.7.2 (http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html)
I want to know when WebHDFS will be update for manage hdfs quota?
Thanks & Regards
I'm using webhdfs to manage the directories in hdfs. We have a requirement to support multi-tenancy where we need to assign quotas to the user workspace in HDFS. However I notice that the API's don't have support to do that.
Thanks, Mahesh