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

Speed up TestDFSAdminWithHA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2
    • hdfs, namenode
    • None
    • Reviewed

    Description

      Currently, TestDFSAdminWithHA takes about 10 minutes to finish. The main culprits are two tests:

      testListOpenFilesNN1DownNN2Down

      testSetBalancerBandwidthNN1DownNN2Down

       

      that each take 3~ minutes to finish. This is because they both expect to fail to connect to 2 namenodes, but the client retry policy has way too many retries and exponential backoffs. 

      Attachments

        1. HDFS-13675.000.patch
          1 kB
          Lukas Majercak
        2. HDFS-13675.001.patch
          1 kB
          Lukas Majercak
        3. HDFS-13675_branch-2.000.patch
          1 kB
          Lukas Majercak

        Issue Links

          Activity

            People

              lukmajercak Lukas Majercak
              lukmajercak Lukas Majercak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: