hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4772) Add number of children in HdfsFileStatus
Date Sun, 14 Jul 2013 23:18:48 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-4772:
----------------------------------------------

> HdfsFileStatus only can be part of the response, not request, ...

Even if it is true.  A new client can talk to an old server.  Then, the new client will get
0 children size.  Would it be possible?
                
> Add number of children in HdfsFileStatus
> ----------------------------------------
>
>                 Key: HDFS-4772
>                 URL: https://issues.apache.org/jira/browse/HDFS-4772
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>            Priority: Minor
>             Fix For: 3.0.0, 2.1.0-beta, 2.3.0
>
>         Attachments: HDFS-4772.2.patch, HDFS-4772.3.patch, HDFS-4772.branch-2.patch,
HDFS-4772.patch
>
>
> This JIRA is to track the change to return the number of children for a directory, so
the client doesn't need to make a getListing() call to calculate the number of dirents. This
makes it convenient for the client to check directory size change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message