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

HDFS read ends up ignoring an interrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • None
    • None
    • 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 jingzhao

      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

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

            Dates

              Created:
              Updated:
              Resolved: