Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10468

HDFS read ends up ignoring an interrupt

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If an interrupt comes in during an HDFS read - it looks like HDFS ends up ignoring it (handling it), and retries the read after an interval.

      An interrupt should result in the read being cancelled, with an InterruptedException being thrown.

      Similarly - if an HDFS op is started with the interrupt status on the thread set, an InterruptedException should be thrown.

      cc Jing Zhao

        Attachments

        1. HDFS-10468.000.patch
          1 kB
          Jing Zhao
        2. HDFS-10468.001.patch
          6 kB
          Jing Zhao
        3. HDFS-10468.002.patch
          11 kB
          Jing Zhao
        4. HDFS-10468.003.patch
          11 kB
          Jing Zhao
        5. log
          34 kB
          Siddharth Seth

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              sseth Siddharth Seth
            • Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: