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

while loop is executed tens of thousands of times in Hedged Read

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      I download hadoop-2.4.1-rc1 code from http://people.apache.org/~acmurthy/hadoop-2.4.1-rc1/, I test the Hedged Read. I find the while loop in hedgedFetchBlockByteRange method is executed tens of thousands of times.

        Attachments

        1. HDFS-6591-v4.txt
          17 kB
          Liang Xie
        2. HDFS-6591-v3.txt
          18 kB
          Liang Xie
        3. HDFS-6591-v2.txt
          18 kB
          Liang Xie
        4. HDFS-6591.txt
          17 kB
          Liang Xie
        5. LoopTooManyTimesTestCase.patch
          7 kB
          LiuLei

          Issue Links

            Activity

              People

              • Assignee:
                xieliang007 Liang Xie
                Reporter:
                liulei.cn LiuLei
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: