Created 03-27-2017 05:28 PM
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
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
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
Hi @Arpit Agarwal, thank you for quick help!