J.Andreina created HDFS-8545:
--------------------------------

             Summary: Add an API to fetch the total file length from a specific 
path, apart from getting by default from root
                 Key: HDFS-8545
                 URL: https://issues.apache.org/jira/browse/HDFS-8545
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: J.Andreina
            Assignee: J.Andreina
            Priority: Minor


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" .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to