hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4677) FileSystem.getFileBlockLocations() (aka default implementation for Local FileSystem) incorrect.
Date Fri, 21 Nov 2008 16:43:44 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-4677:
------------------------------------------------

If start >= file.getLen(), should it return an empty array?  Also, should we check for
invalid arguments, e.g. len < 0, start < 0, etc.?

> 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