hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2027) FileSystem should provide byte ranges for file locations
Date Wed, 10 Oct 2007 22:03:51 GMT
FileSystem should provide byte ranges for file locations
--------------------------------------------------------

                 Key: HADOOP-2027
                 URL: https://issues.apache.org/jira/browse/HADOOP-2027
             Project: Hadoop
          Issue Type: Bug
          Components: fs
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley
             Fix For: 0.16.0


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