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

getBlacklistedTrackers() should be deprecated and a new method called getNumBlacklistedTrackers should be added.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.1.0-beta, 2.0.5-alpha
    • None
    • None

    Description

      If the method returns a number, then that is what the method name should reflect. It should be called getNumBlacklistedTrackers(). The method does not return trackers, it returns number of trackers.

      The same applies to the following:

      • getMapTasks, getReduceTasks, getTaskTrackers

      These should be deprecated and a new method should be added: getNumxxx.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varma.pranay Pranay Varma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: