Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> hdfs inode count


Copy link to this message
-
hdfs inode count
Hi,

Current filesystem api does not expose inode count.   Why?
FileSystem.listStatus(root) incurs too much overhead if all one needs
is a count of the number of
children.  INodeDirectory has the list of children, so in theory it's
trivial to return the count.

Thoughts/suggestions are welcome.

Thanks,

stan