Ted Yu created YARN-2243:
----------------------------

             Summary: Order of arguments for Preconditions.checkNotNull() is 
wrong in SchedulerApplicationAttempt ctor
                 Key: YARN-2243
                 URL: https://issues.apache.org/jira/browse/YARN-2243
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
  public SchedulerApplicationAttempt(ApplicationAttemptId applicationAttemptId, 
      String user, Queue queue, ActiveUsersManager activeUsersManager,
      RMContext rmContext) {
    Preconditions.checkNotNull("RMContext should not be null", rmContext);
{code}
Order of arguments is wrong for Preconditions.checkNotNull().



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to