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

ClusterStatus.getMaxMemory() and getUsedMemory() exist in MR1 but not MR2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.1, 2.0.2-alpha
    • 1.2.0, 2.0.3-alpha, 0.23.6
    • client
    • None
    • Reviewed

    Description

      For backwards compatibility, these methods should exist in both MR1 and MR2.

      Confusingly, these methods return the max memory and used memory of the jobtracker, not the entire cluster.

      I'd propose to add them to MR2 and return -1, and deprecate them in both MR1 and MR2. Alternatively, I could add plumbing to get the resource manager memory stats.

      Attachments

        1. MAPREDUCE-4845.patch
          1 kB
          Sandy Ryza
        2. MAPREDUCE-4845-branch-1.patch
          0.7 kB
          Sandy Ryza
        3. MAPREDUCE-4845.patch
          1 kB
          Thomas White

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: