hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6177) FSInputChecker.getPos() would return position greater than the file size
Date Mon, 10 Aug 2009 16:44:14 GMT

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

Hairong Kuang commented on HADOOP-6177:
---------------------------------------

Good catch, Hong!
+1 The patch looks good.

> FSInputChecker.getPos() would return position greater than the file size
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-6177
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6177
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6177-2090806.patch, hadoop-6177-testcase.patch
>
>
> When using a small buffer (< 512 bytes) to read through the whole file, the final
file position is 1+ the file size.

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


Mime
View raw message