Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.10.1
-
None
-
None
Description
A seek on a DFSInputStream causes causes the next read to re-open the socket connection to the datanode and fetch the remainder of the block all over again. This is not optimal.
A small read followed by a small positive seek could re-utilize the data already fetched from the datanode as part of the previous read.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-519 HDFS File API should be extended to include positional read
- Closed