hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lohit vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2027) FileSystem should provide byte ranges for file locations
Date Wed, 13 Feb 2008 23:17:08 GMT

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

lohit vijayarenu commented on HADOOP-2027:
------------------------------------------

The javac warnings were expected due to other deprecated APIs. 

> FileSystem should provide byte ranges for file locations
> --------------------------------------------------------
>
>                 Key: HADOOP-2027
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2027
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Owen O'Malley
>            Assignee: lohit vijayarenu
>         Attachments: HADOOP-2027-1.patch, HADOOP-2027-2.patch, HADOOP-2027-3.patch, HADOOP-2027-4.patch,
HADOOP-2027-5.patch, HADOOP-2027-6.patch
>
>
> FileSystem's getFileCacheHints should be replaced with something more useful. I'd suggest
replacing getFileCacheHints with a new method:
> {code}
> BlockLocation[] getFileLocations(Path file, long offset, long range) throws IOException;
> {code}
> and adding
> {code}
> class BlockLocation implements Writable {
>   String[] getHosts();
>   long getOffset();
>   long getLength();
> }
> {code}

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