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

How to get quota information from fsimage

Explorer

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(https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsImageViewer.html#XML_Proc...) 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.

 

 

0 REPLIES 0