hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7356) Use DirectoryListing.hasMore() directly in nfs
Date Tue, 04 Nov 2014 21:14:34 GMT

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

Jing Zhao commented on HDFS-7356:
---------------------------------

+1 pending Jenkins

> Use DirectoryListing.hasMore() directly in nfs
> ----------------------------------------------
>
>                 Key: HDFS-7356
>                 URL: https://issues.apache.org/jira/browse/HDFS-7356
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Li Lu
>            Priority: Minor
>         Attachments: HDFS-7356-110414.patch
>
>
> In NFS the following code path can be simplified using {{DirectoryListing.hasMore()}}:
> {code}
>     boolean eof = (n < fstatus.length) ? false : (dlisting
>         .getRemainingEntries() == 0);
> {code}



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

Mime
View raw message