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

DFSInputStream retries too many times for new block locations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.20-append, 0.21.0, 0.22.0
    • Fix Version/s: 0.20.2, 0.21.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I think this is a regression caused by HDFS-127 – DFSInputStream is supposed to only go back to the NN max.block.acquires times, but in trunk it goes back twice as many - the default is 3, but I am counting 7 calls to getBlockLocations before an exception is thrown.

        Attachments

        1. hdfs-927.txt
          14 kB
          Todd Lipcon
        2. hdfs-927-branch0.20.txt
          13 kB
          Todd Lipcon
        3. hdfs-927-branch-0.21.txt
          14 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: