@SuppressWarnings("unchecked")
  private RemoteProcedure<MasterProcedureEnv, ?> getRemoteProcedure(long procId) {
    Procedure<?> procedure = procedureExecutor.getProcedure(procId);
    if (procedure == null) {
      return null;
    }
    assert procedure instanceof RemoteProcedure;
    return (RemoteProcedure<MasterProcedureEnv, ?>) procedure;
  }
Remove decommission marker (previously called 'draining') from a region server to allow regions
assignments. Load regions onto the server asynchronously if a list of regions is given
@param server Region server to remove decommission marker from.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java