Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6695

Investigate using Java 7's nonblocking file I/O in BlockReaderLocal to implement read timeouts

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

        Issue Links

          Activity

          Colin Patrick McCabe created issue -
          Chris Nauroth made changes -
          Field Original Value New Value
          Link This issue relates to HADOOP-9590 [ HADOOP-9590 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:

                Development