Hadoop:HDFS space 配额

Hadoop : HDFS space quota

有什么方法可以检查是否有任何 space 配额应用于特定的 HDFS 目录?

我找不到任何提供此类信息的命令here

也许你错过了这个页面?

https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HdfsQuotaAdminGuide.html#Administrative_Commands

an extension to the count command of the HDFS shell reports quota values and the current count of names and bytes in use.

hadoop fs -count -q [-h] [-v] <directory>...<directory>

With the -q option, also report the name quota value set for each directory, the available name quota remaining, the space quota value set, and the available space quota remaining. If the directory does not have a quota set, the reported values are none and inf. The -h option shows sizes in human readable format. The -v option displays a header line