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/complete_stage_list_json_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/complete_stage_list_json_expectation.json')
-rw-r--r-- | core/src/test/resources/HistoryServerExpectations/complete_stage_list_json_expectation.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/test/resources/HistoryServerExpectations/complete_stage_list_json_expectation.json b/core/src/test/resources/HistoryServerExpectations/complete_stage_list_json_expectation.json index 8f8067f86d..25c4fff77e 100644 --- a/core/src/test/resources/HistoryServerExpectations/complete_stage_list_json_expectation.json +++ b/core/src/test/resources/HistoryServerExpectations/complete_stage_list_json_expectation.json @@ -6,6 +6,7 @@ "numCompleteTasks" : 8, "numFailedTasks" : 0, "executorRunTime" : 162, + "executorCpuTime" : 0, "submissionTime" : "2015-02-03T16:43:07.191GMT", "firstTaskLaunchedTime" : "2015-02-03T16:43:07.191GMT", "completionTime" : "2015-02-03T16:43:07.226GMT", @@ -31,6 +32,7 @@ "numCompleteTasks" : 8, "numFailedTasks" : 0, "executorRunTime" : 3476, + "executorCpuTime" : 0, "submissionTime" : "2015-02-03T16:43:05.829GMT", "firstTaskLaunchedTime" : "2015-02-03T16:43:05.829GMT", "completionTime" : "2015-02-03T16:43:06.286GMT", @@ -56,6 +58,7 @@ "numCompleteTasks" : 8, "numFailedTasks" : 0, "executorRunTime" : 4338, + "executorCpuTime" : 0, "submissionTime" : "2015-02-03T16:43:04.228GMT", "firstTaskLaunchedTime" : "2015-02-03T16:43:04.234GMT", "completionTime" : "2015-02-03T16:43:04.819GMT", |