hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9713) FSDataInputStream.readFully doesn't work on filesystems without seek -even when the offset==getPos
Date Tue, 09 Jul 2013 17:13:48 GMT
Steve Loughran created HADOOP-9713:
--------------------------------------

             Summary: FSDataInputStream.readFully doesn't work on filesystems without seek
-even when the offset==getPos
                 Key: HADOOP-9713
                 URL: https://issues.apache.org/jira/browse/HADOOP-9713
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Steve Loughran
            Priority: Minor


{{FSDataInputStream.readFully(offset,data)}} doesn't work even if the offset==the current
location -because it always seeks to the offset and seeks back. No seek => Exception.

We could optimise {{FSDataInputStream.readFully(offset,data)}} to eliminate the seeks on these
operations -which would have tangible benefits for those filesystems where seek is expensive
(remote blobstores). It would also let you use readFully against filesystems without seeks,
provided you are only reading from the current location.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message