Support Questions
Find answers, ask questions, and share your expertise

How to get quota information from fsimage


I thought fsimage would contain quota information of each directory.


However, after running oiv command and checking the output, I could not find the quota information.


Also, hadoop document( doesn't say about quota. 


It says about DSQUOTA and NSQUOTA, which aren't my target data.


Is there a way to get quota information from fsimage?


Running hdfs count command to all the directories iteratively doesn't seem good to me. 

It would give a heavy load to NN.