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

Hudson commented on HDFS-6065:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5279 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5279/])
HDFS-6065. HDFS zero-copy reads should return null on EOF when doing ZCR 
(cmccabe) (cmccabe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1575109)
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HasEnhancedByteBufferAccess.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/ShortCircuitReplica.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/expect.h
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test/test_libhdfs_zerocopy.c
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestEnhancedByteBufferAccess.java


> HDFS zero-copy reads should return null on EOF when doing ZCR
> -------------------------------------------------------------
>
>                 Key: HDFS-6065
>                 URL: https://issues.apache.org/jira/browse/HDFS-6065
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 2.4.0
>
>         Attachments: HDFS-6065.001.patch, HDFS-6065.002.patch
>
>
> It would be nice if the HDFS zero-copy reads mechanism returned an empty 
> buffer on EOF.  Currently, it throws UnsupportedOperationException on EOF 
> when using zero-copy reads, which seems confusing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to