hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-7504) directory size is shown as 0B when browsing directory
Date Wed, 10 Dec 2014 04:02:12 GMT

     [ 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

View raw message