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

ShortCircuitCache#unref should purge ShortCircuitReplicas whose streams have been closed by java interrupts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • None
    • None
    • Reviewed

    Description

      While running tests in a single node cluster, where short circuit read is enabled and multiple threads may read the same file concurrently, one of the read got ClosedChannelException and failed. Full exception trace see comment.

      Attachments

        1. HDFS-6227.000.patch
          3 kB
          Jing Zhao
        2. HDFS-6227.001.patch
          7 kB
          Colin McCabe
        3. HDFS-6227.002.patch
          7 kB
          Colin McCabe
        4. ShortCircuitReadInterruption.test.patch
          5 kB
          Jing Zhao

        Activity

          People

            cmccabe Colin McCabe
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: