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

dhruba borthakur resolved HADOOP-2187.

Resolution: Duplicate
Fix Version/s: 0.17.0

Fixed in HADOOP-2027.
FileSystem should return location information with byte ranges

Key: HADOOP-2187
URL: https://issues.apache.org/jira/browse/HADOOP-2187
Project: Hadoop Core
Issue Type: Improvement
Components: fs
Reporter: Owen O'Malley
Fix For: 0.17.0

The FileSystem interface should provide location information with byte ranges rather than a String[][] of locations. I suggest that we deprecate FileSystem.getFileCacheHints and replace it with:
abstract public class FileSystem {
public static class BlockInformation implements Writable {
public BlockInformation(long start, String[] locations) {...}
public String[] getHosts() {...}
public long getStartingOffset() {...}
BlockInformation[] getFileLocations(Path f, long start, long length) { ... }
This will allow us to fix the FileInputFormat in map/reduce to make just one call per a file to the name node instead of one per a block.
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 @
postedMar 28, '08 at 6:56p
activeMar 28, '08 at 6:56p

1 user in discussion

dhruba borthakur (JIRA): 1 post



site design / logo © 2021 Grokbase