virajjasani commented on a change in pull request #2057:
URL: https://github.com/apache/hbase/pull/2057#discussion_r454508634



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
##########
@@ -715,7 +716,10 @@ public static void 
closeRegionSilentlyAndWait(AsyncClusterConnection connection,
           return;
         }
       } catch (IOException ioe) {
-        if (ioe instanceof NotServingRegionException) {
+        if (ioe instanceof NotServingRegionException ||
+          (ioe instanceof RemoteWithExtrasException &&
+            ((RemoteWithExtrasException)ioe).unwrapRemoteException()
+              instanceof NotServingRegionException)) {

Review comment:
       Sounds good, I thought it was specific to unit test and only in the case 
of unit test (based on config), this is happening but yeah if this is generic, 
we are good.
   Thanks @BukrosSzabolcs 




----------------------------------------------------------------
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]


Reply via email to