HADOOP-4780. Cache the size of directories in DistributedCache, avoiding long delays in recalculating it. Contributed by He Yongqiang