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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • 2.7.0
    • None
    • None

    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 Kavali
        2. YARN-2243.patch
          1 kB
          Devaraj Kavali

        Activity

          People

            devaraj Devaraj Kavali
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: