Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In BlockReaderLocal, the "read" system call could block for a long time if the disk drive is having problems, or there is a huge amount of I/O contention. This might cause poor latency performance.
In the remote block readers, we have implemented a read timeout, but we don't have one for the local block reader, since FileChannel#read doesn't support this.
Once we move to JDK 7, we should investigate the java.nio.file nonblocking file I/O package to see if it could be used to implement read timeouts.
Attachments
Issue Links
- relates to
-
HADOOP-9590 Move to JDK7 improved APIs for file operations when available
- Open