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

Hudson commented on HDFS-470:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #1103 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1103/])
    HDFS-470. libhdfs should handle 0-length reads from FSInputStream 
correctly. Contributed by Colin Patrick McCabe (Revision 1361446)

     Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361446
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfs.c
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfs.h

                
> libhdfs should handle 0-length reads from FSInputStream correctly
> -----------------------------------------------------------------
>
>                 Key: HDFS-470
>                 URL: https://issues.apache.org/jira/browse/HDFS-470
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Pete Wyckoff
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.1-alpha
>
>         Attachments: HDFS-470.001.patch, HDFS-470.002.patch
>
>
> libhdfs changes Java read semantics to posix semantics. As such, if Hadoop 
> ever returns 0 bytes read, libhdfs should return -1 and set errno = EINTER.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to