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

    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

        1. MAPREDUCE-4846.patch
          2 kB
          Sandy Ryza
        2. MAPREDUCE-4846-1.patch
          4 kB
          Sandy Ryza
        3. MAPREDUCE-4846-1.patch
          3 kB
          Sandy Ryza

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: