private IOException unwrapException(IOException e) {
      if (e instanceof RemoteException) {
        e = ((RemoteException) e).unwrapRemoteException();
      }
      return e;
    }
Returns true if the error type can allow fail-fast.
@param e IOException thrown by the underlying rpc framework.
@return True if the error type can allow fail-fast.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RSProcedureDispatcher.java