protected void setFailure(final String source, final Throwable cause) {
    setFailure(new RemoteProcedureException(source, cause));
  }
Returns true if the procedure is waiting for a child to finish or for an external event.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java