Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4846

Some JobQueueInfo methods are public in MR1 but protected in MR2

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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.1.0-beta
    • client
    • None
    • Reviewed

    Description

      setQueueName, setSchedulingInfo, and setQueueState were public in MR1, but are private int MR2. They should be made public with InterfaceAudience.Private.

      getQueueState was public, but is now package private. It has been replaced with getState, which returns a QueueState instead of a String. It should be made public and deprecated, with a documentation reference to getState.

      Should the other setter methods in JobQueueInfo that were not in MR1 be changed to public/InterfaceAudience.Private for consistency?

      Attachments

        Activity

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

          People

            sandyr Sandy Ryza Assign to me
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment