diff options
author | jisookim <jisookim0513@gmail.com> | 2016-09-23 13:43:47 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2016-09-23 13:43:47 -0700 |
commit | 90a30f46349182b6fc9d4123090c4712fdb425be (patch) | |
tree | a2c6532b9e62310f4c0958fa1cdaf9c6789d5a1b /core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json | |
parent | 988c71457354b0a443471f501cef544a85b1a76a (diff) | |
download | spark-90a30f46349182b6fc9d4123090c4712fdb425be.tar.gz spark-90a30f46349182b6fc9d4123090c4712fdb425be.tar.bz2 spark-90a30f46349182b6fc9d4123090c4712fdb425be.zip |
[SPARK-12221] add cpu time to metrics
Currently task metrics don't support executor CPU time, so there's no way to calculate how much CPU time a stage/task took from History Server metrics. This PR enables reporting CPU time.
Author: jisookim <jisookim0513@gmail.com>
Closes #10212 from jisookim0513/add-cpu-time-metric.
Diffstat (limited to 'core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json')
-rw-r--r-- | core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json b/core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json index 7baffc5df0..6d230ac653 100644 --- a/core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json +++ b/core/src/test/resources/HistoryServerExpectations/stage_task_summary_w_shuffle_read_expectation.json @@ -1,7 +1,9 @@ { "quantiles" : [ 0.05, 0.25, 0.5, 0.75, 0.95 ], "executorDeserializeTime" : [ 1.0, 2.0, 2.0, 2.0, 3.0 ], + "executorDeserializeCpuTime" : [ 0.0, 0.0, 0.0, 0.0, 0.0 ], "executorRunTime" : [ 30.0, 74.0, 75.0, 76.0, 79.0 ], + "executorCpuTime" : [ 0.0, 0.0, 0.0, 0.0, 0.0 ], "resultSize" : [ 1034.0, 1034.0, 1034.0, 1034.0, 1034.0 ], "jvmGcTime" : [ 0.0, 0.0, 0.0, 0.0, 0.0 ], "resultSerializationTime" : [ 0.0, 0.0, 0.0, 0.0, 0.0 ], |