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

DFSInputStream should set thread's interrupt status after catching InterruptException from sleep

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      HDFS-10468 adds check for InterruptIOException/ClosedByInterruptException/InterruptException for the on-going read. For the interrupt from the sleep case, we should set the thread's interrupt status again so that the checkInterrupted method recognize it.

      Attachments

        1. HDFS-10508.000.patch
          1 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: