saintstack commented on a change in pull request #1305: HBASE-23984 [Flakey 
Tests] TestMasterAbortAndRSGotKilled fails in tea…
URL: https://github.com/apache/hbase/pull/1305#discussion_r394705871
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
 ##########
 @@ -2446,6 +2450,12 @@ public RSRpcServices getRSRpcServices() {
    */
   @Override
   public void abort(String reason, Throwable cause) {
+    if (isAborted()) {
+      // Don't run multiple aborts; fills logs w/ spew.
+      LOG.info("Abort called but server already aborted; by-passing; abort 
invoked because {}",
 
 Review comment:
   Critical figuring how the abort came about. A 'reason' that was distinctive 
enough would be cool but would take some work; I could make new issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to