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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • datanode
    • None

    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.002.patch
          10 kB
          Colin McCabe
        2. HDFS-6086.001.patch
          8 kB
          Colin McCabe

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment