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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: client
    • Labels:
      None
    • Hadoop Flags:
      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-1.patch
          4 kB
          Sandy Ryza
        2. MAPREDUCE-4846-1.patch
          3 kB
          Sandy Ryza
        3. MAPREDUCE-4846.patch
          2 kB
          Sandy Ryza

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: