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

short-circuit reads do not honor readahead settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.3-alpha
    • 2.3.0
    • hdfs-client
    • None

    Description

      Neither the new nor the legacy short-circuit read implementations honor dfs.datanode.readahead.bytes. This can result in scenarios where non-short-circuit reads are faster for long reads, simply because they are doing more readahead, and SCR is not. We should do readahead in both cases if it is configured.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: