aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorParag Chaudhari <paragpc@amazon.com>2017-01-20 10:49:05 -0600
committerImran Rashid <irashid@cloudera.com>2017-01-20 10:49:05 -0600
commite20d9b15655ffaf1c220fbad1a2aa1c2d45137ba (patch)
tree50c275cf7c067510af7cea700fb8b958e77ea4e8 /project
parentd50d12b49f98e18abd1c0b054b23a64fefd92ea2 (diff)
downloadspark-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 'project')
-rw-r--r--project/MimaExcludes.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index bf628210a1..7e6e143523 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -49,7 +49,12 @@ object MimaExcludes {
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.sql.catalog.Catalog.createTable"),
// [SPARK-14272][ML] Add logLikelihood in GaussianMixtureSummary
- ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.ml.clustering.GaussianMixtureSummary.this")
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.ml.clustering.GaussianMixtureSummary.this"),
+
+ // [SPARK-19069] [CORE] Expose task 'status' and 'duration' in spark history server REST API.
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.status.api.v1.TaskData.this"),
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.status.api.v1.TaskData.<init>$default$10"),
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.status.api.v1.TaskData.<init>$default$11")
)
// Exclude rules for 2.1.x