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

DFSInputStream may infinite loop requesting block locations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha4
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      DFSInputStream creation caches file size and initial range of locations. If the file is truncated (or replaced) and the client attempts to read outside the initial range, the client goes into a tight infinite looping requesting locations for the nonexistent range.

        Attachments

        1. HDFS-11379.branch-2.7.patch
          7 kB
          Xiao Chen
        2. HDFS-11379.branch-2.patch
          7 kB
          Daryn Sharp
        3. HDFS-11379.trunk.patch
          7 kB
          Daryn Sharp

          Activity

            People

            • Assignee:
              daryn Daryn Sharp
              Reporter:
              daryn Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: