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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment