hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (HDFS-470) libhdfs should handle 0-length reads from FSInputStream correctly
Date Thu, 11 Oct 2012 17:47:44 GMT

     [ https://issues.apache.org/jira/browse/HDFS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun C Murthy closed HDFS-470.
------------------------------

    
> 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.2-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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message