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

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

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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
    • Target Version/s:
    • Hadoop Flags:
      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

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              jingzhao Jing Zhao

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment