hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Tang (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-4677) FileSystem.getFileBlockLocations() (aka default implementation for Local FileSystem) incorrect.
Date Wed, 19 Nov 2008 22:49:44 GMT

    [ 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.


Mime
View raw message