hadoop-hdfs-issues mailing list archives

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

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

Hudson commented on HDFS-7356:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1923 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1923/])
HDFS-7356. Use DirectoryListing.hasMore() directly in nfs. Contributed by Li Lu. (jing9: rev
27f106e2261d0dfdb04e3d08dfd84ca4fdfad244)
* hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Use DirectoryListing.hasMore() directly in nfs
> ----------------------------------------------
>
>                 Key: HDFS-7356
>                 URL: https://issues.apache.org/jira/browse/HDFS-7356
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: nfs
>            Reporter: Haohui Mai
>            Assignee: Li Lu
>            Priority: Minor
>             Fix For: 2.7.0
>
>         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