GitHub user paragpc opened a pull request: https://github.com/apache/spark/pull/16473
[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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/paragpc/spark expose_task_status Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16473.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 #16473 ---- commit a1c0e59bd7c5b139c2a682603a1fc4ca8ad211b1 Author: Parag Chaudhari <para...@amazon.com> Date: 2017-01-04T01:21:51Z [SPARK-19069] [CORE] Expose task 'status' and 'duration' in spark history server REST API. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org