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 "Hong Tang (JIRA)" <ji...@apache.org> on 2008/11/19 23:49:44 UTC
[jira] Issue Comment Edited: (HADOOP-4677)
FileSystem.getFileBlockLocations() (aka default implementation for Local
FileSystem) incorrect.
[ https://issues.apache.org/jira/browse/HADOOP-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649197#action_12649197 ]
hong.tang edited comment on HADOOP-4677 at 11/19/08 2:48 PM:
-------------------------------------------------------------
Fixed the bug by returning one block covering the whole local file.
Added a unit test that verifies that the range returned by getFileBlockLocations cover the input (offset, length) region.
was (Author: hong.tang):
Fixed the bug by returning one block covering the whole local file.
> FileSystem.getFileBlockLocations() (aka default implementation for Local FileSystem) incorrect.
> -----------------------------------------------------------------------------------------------
>
> Key: HADOOP-4677
> URL: https://issues.apache.org/jira/browse/HADOOP-4677
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.18.1, 0.18.2, 0.19.1, 0.20.0
> Reporter: Hong Tang
> Fix For: 0.20.0
>
> Attachments: hadoop-4677-for-trunk.patch, hadoop-4677-trunk.patch, hadoop-4677.patch
>
>
> The default implementation of FileSystem.getFileBlockLocations(FileStatus file, long start, long len) seems to be wrong.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.