Jose Luis López created YARN-12008:
--------------------------------------

             Summary: 
TestTimelineReaderHBaseDown#testTimelineReaderRecoversAfterHBaseReturns shuts 
down HBase while the restarted RegionServer is still opening regions
                 Key: YARN-12008
                 URL: https://issues.apache.org/jira/browse/YARN-12008
             Project: Hadoop YARN
          Issue Type: Bug
          Components: test, timelineclient
            Reporter: Jose Luis López


testTimelineReaderRecoversAfterHBaseReturns restarts HBase and shuts the
mini-cluster down as soon as the reader sees storage up. At that point the
restarted RegionServer can still be opening regions.

If the shutdown interrupts a region open, HBase aborts the RegionServer.
Because of HBASE-30460, the abort halts the JVM 20 minutes later. This
module runs with forkCount=0, so that JVM is the Maven build: the build
dies in a later, unrelated module with exit code 1 and no failed test.

Seen in https://github.com/joseluisll/hadoop/actions/runs/37376711162
("Test other" job):

  22:52:02.479  startMiniHBaseCluster returns
  22:52:02.480  test calls shutdownMiniCluster
  22:52:02.501  ABORTING region server: Failed to open region ...
  23:12:02      "Zombie HRegionServer" thread dump, Maven exits 1

The failure is intermittent; other runs of the same job pass.

Fix: wait for region assignment to finish after the restart.

    util.startMiniHBaseCluster(1, 1);
    util.waitUntilNoRegionsInTransition();



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to