Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.2
-
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
Attachments
Issue Links
- incorporates
-
MAPREDUCE-488 JobTracker webui should report heap memory used
- Resolved
- is blocked by
-
MAPREDUCE-1779 Should we provide a way to know JobTracker's memory info from client?
- Resolved