Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2243

Order of arguments for Preconditions.checkNotNull() is wrong in SchedulerApplicationAttempt ctor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

        public SchedulerApplicationAttempt(ApplicationAttemptId applicationAttemptId, 
            String user, Queue queue, ActiveUsersManager activeUsersManager,
            RMContext rmContext) {
          Preconditions.checkNotNull("RMContext should not be null", rmContext);
      

      Order of arguments is wrong for Preconditions.checkNotNull().

        Attachments

        1. YARN-2243.patch
          2 kB
          Devaraj K
        2. YARN-2243.patch
          1 kB
          Devaraj K

          Activity

            People

            • Assignee:
              devaraj.k Devaraj K
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: