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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment