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

Remove JNI calls from ClusterStatus cstr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.2
    • 0.22.0
    • jobtracker
    • None
    • Incompatible change
    • Removes JNI calls to get jvm current/max heap usage in ClusterStatus. Any instances of ClusterStatus serialized in a prior version will not be correctly deserialized using the updated class.

    Description

      The ClusterStatus constructor makes two JNI calls to the Runtime to fetch memory information. ClusterStatus instances are often created inside the JobTracker to obtain other, unrelated metrics (sometimes from schedulers' inner loops). Given that this information is related to the JobTracker process and not the cluster, the metrics are also available via JvmMetrics, and the jsps can gather this information for themselves: these fields can be removed from ClusterStatus

      Attachments

        1. mr-1683-trunk-v1.patch
          3 kB
          Luke Lu
        2. MAPREDUCE-1683_yhadoop_20_9.patch
          7 kB
          Arun Murthy
        3. M1683-1.patch
          4 kB
          Christopher Douglas
        4. ASF.LICENSE.NOT.GRANTED--MAPREDUCE-1683_yhadoop_20_S.patch
          7 kB
          Arun Murthy
        5. ASF.LICENSE.NOT.GRANTED--MAPREDUCE-1683_part2_yhadoop_20_10.patch
          0.7 kB
          Arun Murthy

        Issue Links

          Activity

            People

              vicaya Luke Lu
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: