- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HDFS quota set: change in configure files? And set quota as percentage of total space?
- Labels:
-
Apache Hadoop
Created ‎03-27-2017 05:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to set the space quotas for directories in HDFS. I have read the article,
https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsQuotaAdminGuide.html, about how to set the space quota using command line. But still have two questions:
(1) Is there a way I can set the space quota in a configuration file? Or cluster configure file, e.g. .yml file?
(2) Is there a way I can set the space quota as the performance of total storage, while the total storage may change in future and the quota also changes (so I donot need change the space quota for each directory again)?
Thank you
Created ‎03-27-2017 06:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JJ Tsien,
1. We don't support setting quotas via a configuration file. Quotas must be set using the setQuota command issued by an administrator.
2. There is no way to specify quotas as a percentage of total storage either, sorry.
Created ‎03-27-2017 06:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JJ Tsien,
1. We don't support setting quotas via a configuration file. Quotas must be set using the setQuota command issued by an administrator.
2. There is no way to specify quotas as a percentage of total storage either, sorry.
Created ‎03-27-2017 06:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Arpit Agarwal, thank you for quick help!
