GitHub user vundela opened a pull request:
https://github.com/apache/spark/pull/19709
[SPARK-22483][CORE]. Exposing java.nio bufferedPool memory metrics to
Metric System
## What changes were proposed in this pull request?
Adds java.nio bufferedPool memory metrics to metrics system which includes
both direct and mapped memory.
## How was this patch tested?
Manually tested and checked direct and mapped memory metrics too available
in metrics system using Console sink.
Here is the sample console output
application_1509655862825_0016.2.jvm.direct.capacity
value = 19497
application_1509655862825_0016.2.jvm.direct.count
value = 6
application_1509655862825_0016.2.jvm.direct.used
value = 19498
application_1509655862825_0016.2.jvm.mapped.capacity
value = 0
application_1509655862825_0016.2.jvm.mapped.count
value = 0
application_1509655862825_0016.2.jvm.mapped.used
value = 0
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vundela/spark SPARK-22483
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19709.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19709
commit 2a0b2816b70f5c1f83a0da3f8dd81913c5e90051
Author: Srinivasa Reddy Vundela
Date: 2017-11-09T18:16:26Z
[SPARK-22483][CORE]. Exposing java.nio bufferedPool memory metrics to
metrics system
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org