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

Speed up TestDFSAdminWithHA

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 2.9.2
    • Component/s: hdfs, namenode
    • Labels:
      None
    • Hadoop Flags:
      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_branch-2.000.patch
          1 kB
          Lukas Majercak
        2. HDFS-13675.000.patch
          1 kB
          Lukas Majercak
        3. HDFS-13675.001.patch
          1 kB
          Lukas Majercak

        Issue Links

          Activity

            People

            • Assignee:
              lukmajercak Lukas Majercak
              Reporter:
              lukmajercak Lukas Majercak

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment