[ https://issues.apache.org/jira/browse/HADOOP-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

lohit vijayarenu updated HADOOP-2027:

Release Note: New FileSystem API getFileBlockLocations to return the number of bytes in each block in a file via a single rpc to the namenode to speed up job planning. Deprecates getFileCacheHints.
Hadoop Flags: [Incompatible change]
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
Fix For: 0.17.0

Attachments: HADOOP-2027-1.patch, HADOOP-2027-10.patch, HADOOP-2027-14.patch, HADOOP-2027-2.patch, HADOOP-2027-3.patch, HADOOP-2027-4.patch, HADOOP-2027-5.patch, HADOOP-2027-6.patch, HADOOP-2027-7.patch, HADOOP-2027-8.patch, HADOOP-2027-9.patch, HADOOP-2559-11.patch, HADOOP-2559-12.patch, HADOOP-2559-13.patch

FileSystem's getFileCacheHints should be replaced with something more useful. I'd suggest replacing getFileCacheHints with a new method:
BlockLocation[] getFileLocations(Path file, long offset, long range) throws IOException;
and adding
class BlockLocation implements Writable {
String[] getHosts();
long getOffset();
long getLength();
This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
postedApr 17, '08 at 5:12a
activeApr 17, '08 at 5:12a

1 user in discussion

lohit vijayarenu (JIRA): 1 post



site design / logo © 2022 Grokbase