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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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 P. McCabe
        3. HDFS-6227.002.patch
          7 kB
          Colin P. McCabe
        4. ShortCircuitReadInterruption.test.patch
          5 kB
          Jing Zhao

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              jingzhao Jing Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: