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

shorten TestPread run time with a smaller retry timeout setting

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha1
    • 2.5.0
    • test
    • None
    • Reviewed

    Description

      Just notice logs like this from TestPread:
      DFS chooseDataNode: got # 3 IOException, will wait for 9909.622860072854 msec
      so i tried to set a smaller retry window value.

      Before patch:
      T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hdfs.TestPread
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 154.812 sec - in org.apache.hadoop.hdfs.TestPread

      After the change:
      T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hdfs.TestPread
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.724 sec - in org.apache.hadoop.hdfs.TestPread

      Attachments

        1. HDFS-6614-addmium.txt
          1 kB
          Liang Xie
        2. HDFS-6614.txt
          0.7 kB
          Liang Xie

        Issue Links

          Activity

            People

              xieliang007 Liang Xie
              xieliang007 Liang Xie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: