Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8295

TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS is flaky.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.0
    • 0.98.0, 0.95.1
    • None
    • None
    • Reviewed

    Description

      TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS failed because asserting before finishing SSH process of dead server.

      https://builds.apache.org/job/PreCommit-HBASE-Build/5182//artifact/trunk/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.master.TestMasterFailover.txt

      In SSH Checked how many regions carrying by dead server but not started assignment before asserting.

      2013-04-08 12:17:18,238 INFO  [MASTER_SERVER_OPERATIONS-asf001.sp2.ygridcore.net,41490,1365423432616-1] handler.ServerShutdownHandler(192): Reassigning 14 region(s) that asf001.sp2.ygridcore.net,46030,1365423422112 was carrying (and 0 regions(s) that were opening on this server)
      

      We need to wait until SSH processing finished to ensure atleast regions assignment started. After that we will any way wait at blockUntilNoRIT until assignment completed.

      Attachments

        1. HBASE-8295.patch
          0.8 kB
          rajeshbabu

        Issue Links

          Activity

            People

              rajesh23 rajeshbabu
              rajesh23 rajeshbabu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: