private void clearMasterStubCacheOnError(MasterService.Interface stub, Throwable error) {
    // ServerNotRunningYetException may because it is the backup master.
    if (
      ClientExceptionsUtil.isConnectionException(error)
        || error instanceof ServerNotRunningYetException
    ) {
      conn.clearMasterStubCache(stub);
    }
  }
Retry caller for a request call to master.
@since 2.0.0
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncMasterRequestRpcRetryingCaller.java