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

Switch to Threaded View
Hadoop, mail # user - hdfs inode count


Copy link to this message
-
hdfs inode count
Stan Rosenberg 2012-07-20, 21:22
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