diff options
author | Parag Chaudhari <paragpc@amazon.com> | 2017-01-20 10:49:05 -0600 |
---|---|---|
committer | Imran Rashid <irashid@cloudera.com> | 2017-01-20 10:49:05 -0600 |
commit | e20d9b15655ffaf1c220fbad1a2aa1c2d45137ba (patch) | |
tree | 50c275cf7c067510af7cea700fb8b958e77ea4e8 /external/flume-sink/src/test/scala/org | |
parent | d50d12b49f98e18abd1c0b054b23a64fefd92ea2 (diff) | |
download | spark-e20d9b15655ffaf1c220fbad1a2aa1c2d45137ba.tar.gz spark-e20d9b15655ffaf1c220fbad1a2aa1c2d45137ba.tar.bz2 spark-e20d9b15655ffaf1c220fbad1a2aa1c2d45137ba.zip |
[SPARK-19069][CORE] Expose task 'status' and 'duration' in spark history server REST API.
## What changes were proposed in this pull request?
Although Spark history server UI shows task ‘status’ and ‘duration’ fields, it does not expose these fields in the REST API response. For the Spark history server API users, it is not possible to determine task status and duration. Spark history server has access to task status and duration from event log, but it is not exposing these in API. This patch is proposed to expose task ‘status’ and ‘duration’ fields in Spark history server REST API.
## How was this patch tested?
Modified existing test cases in org.apache.spark.deploy.history.HistoryServerSuite.
Author: Parag Chaudhari <paragpc@amazon.com>
Closes #16473 from paragpc/expose_task_status.
Diffstat (limited to 'external/flume-sink/src/test/scala/org')
0 files changed, 0 insertions, 0 deletions