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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • hdfs-client
    • None
    • 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. LoopTooManyTimesTestCase.patch
          7 kB
          LiuLei
        2. HDFS-6591-v4.txt
          17 kB
          Liang Xie
        3. HDFS-6591-v3.txt
          18 kB
          Liang Xie
        4. HDFS-6591-v2.txt
          18 kB
          Liang Xie
        5. HDFS-6591.txt
          17 kB
          Liang Xie

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: