Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4845

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 2.0.2-alpha
    • Fix Version/s: 1.2.0, 2.0.3-alpha, 0.23.6
    • Component/s: client
    • Labels:
      None
    • Hadoop Flags:
      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.

      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
        Tom White

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development