Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently by default in FileSystem#getUsed() returns the total file size from root.
It is good to have an api to return the total file size from specified path ,same as we specify the path in "./hdfs dfs -du -s /path" .
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-12154 FileSystem#getUsed() returns the file length only from root '/'
- Resolved