Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5182 BlockReaderLocal must allow zero-copy reads only when the DN believes it's valid
  3. HDFS-6086

Fix a case where zero-copy or no-checksum reads were not allowed even when the block was cached

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: datanode
    • Labels:
      None
    • Target Version/s:

      Description

      We need to fix a case where zero-copy or no-checksum reads are not allowed even when the block is cached. The case is when the block is cached before the REQUEST_SHORT_CIRCUIT_FDS operation begins. In this case, DataXceiver needs to consult the ShortCircuitRegistry to see if the block is cached, rather than relying on a callback.

        Attachments

        1. HDFS-6086.001.patch
          8 kB
          Colin P. McCabe
        2. HDFS-6086.002.patch
          10 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              cmccabe Colin P. McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: