I am trying to get the disk space consumed by an HDFS directory using the ContentSummary.getSpaceConsumed method as suggested in this answer.
ContentSummary.getSpaceConsumed
I can\'t get th