[ 
https://issues.apache.org/jira/browse/HDFS-8545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980437#comment-14980437
 ] 

Hudson commented on HDFS-8545:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #550 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/550/])
HDFS-8545. Refactor FS#getUsed() to use ContentSummary and add an API to 
(vinayakumarb: rev 7d2d16f4ee87ae56dc20016a91c109dd5130f7d4)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java


> Refactor FS#getUsed() to use ContentSummary and add an API to fetch the total 
> file length from a specific path
> --------------------------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8545.1.patch, HDFS-8545.2.patch, HDFS-8545.3.patch, 
> HDFS-8545.4.patch, HDFS-8545.5.patch, HDFS-8545.6.patch, HDFS-8545.7.patch
>
>
> 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