You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2007/07/10 19:56:04 UTC

[jira] Commented: (HADOOP-1582) hdfsRead and hdfsPread should return 0 instead of -1 at end-of-file.

    [ https://issues.apache.org/jira/browse/HADOOP-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511513 ] 

Arun C Murthy commented on HADOOP-1582:
---------------------------------------

+1 with caveat that this is a change to a 'public' api *smile*

> hdfsRead and hdfsPread should return 0 instead of -1 at end-of-file.
> --------------------------------------------------------------------
>
>                 Key: HADOOP-1582
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1582
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: libhdfs
>    Affects Versions: 0.14.0
>            Reporter: Christian Kunz
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: libhdfs-read.patch
>
>
> As a C interface library, libhdfs should rather follow C-library conventions than Java convention, i.e. read functions should return 0 at end-of-file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.