|
|
-
hdfs inode countStan 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 |