hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2243) Order of arguments for Preconditions.checkNotNull() is wrong in SchedulerApplicationAttempt ctor
Date Wed, 02 Jul 2014 00:34:24 GMT
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)

Mime
View raw message