[ 
https://issues.apache.org/jira/browse/HDFS-7504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai resolved HDFS-7504.
------------------------------
    Resolution: Not a Problem

Resolving as not a problem.

The behavior is by design. HDFS does not calculate the total space that the 
directories have taken during {{ls}}.

> directory size is shown as 0B when browsing directory
> -----------------------------------------------------
>
>                 Key: HDFS-7504
>                 URL: https://issues.apache.org/jira/browse/HDFS-7504
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: dfsclient, hdfs-client, webhdfs
>    Affects Versions: 1.2.1, 2.5.0
>         Environment: Ubuntu14.04
>            Reporter: Wang Peipei
>
> No matter using hadoop dfs -ls or using web brower to look at the directory 
> information, the size is always shown as 0B. The correct value should be the 
> sum of its files and sub-directories.



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

Reply via email to