@Override public List<SchedulingRequest> getPendingSchedulingRequestsForAttempt( ApplicationAttemptId attemptId) { SchedulerApplicationAttempt attempt = getApplicationAttempt(attemptId); if (attempt != null) { return attempt.getAppSchedulingInfo().getAllSchedulingRequests(); } return null; }