class AbstractYarnScheduler extends AbstractService implements ResourceScheduler {

  @Override
  public RMContainer getRMContainer(ContainerId containerId) {
    SchedulerApplicationAttempt attempt =
        getCurrentAttemptForContainer(containerId);
    return (attempt == null) ? null : attempt.getRMContainer(containerId);
  }

  public  AbstractYarnScheduler(String name);

}