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

DFSInputStream may infinite loop requesting block locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 2.7.4, 3.0.0-alpha4
    • hdfs-client
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: