[ 
https://issues.apache.org/jira/browse/HADOOP-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646443#action_12646443
 ] 

Pete Wyckoff commented on HADOOP-4629:
--------------------------------------

ok i misunderstood dhruba - he says it shouldn't but it could if there's a bug 
and that's what we may have seen in HADOOP-4616.

I will change this back, but will print a message to stderr if Hadoop returns 0 
bytes.


> libhdfs sets read return code to 0 when hadoop returns < 0 
> -----------------------------------------------------------
>
>                 Key: HADOOP-4629
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4629
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.19.0, 0.20.0
>            Reporter: Pete Wyckoff
>            Assignee: Pete Wyckoff
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4629.txt
>
>
> libhdfs is changing the return code to 0 whenever hadoop returns < 0 on a 
> read.  This means EOF cannot be determined correctly since it should have a 
> return code of -1.

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

Reply via email to