Class DFCachingGetSpaceUsed

java.lang.Object
org.apache.hadoop.fs.CachingGetSpaceUsed
org.apache.hadoop.fs.DFCachingGetSpaceUsed
All Implemented Interfaces:
Closeable, AutoCloseable, GetSpaceUsed

@LimitedPrivate({"HDFS","MapReduce"}) @Evolving public class DFCachingGetSpaceUsed extends CachingGetSpaceUsed
Fast but inaccurate class to tell how much space HDFS is using. This class makes the assumption that the entire mount is used for HDFS and that no two hdfs data dirs are on the same disk. To use set fs.getspaceused.classname to org.apache.hadoop.fs.DFCachingGetSpaceUsed in your core-site.xml