aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2014-11-14 23:46:25 -0800
committerReynold Xin <rxin@databricks.com>2014-11-14 23:46:42 -0800
commit9eac5fee64def9a18d8961069f631a176f339a5b (patch)
treea39f90fb4efd216f84c983fc3959addfb786b2d7 /pom.xml
parentc044e124115cc8e9ffb44d12c2744f33362f366f (diff)
downloadspark-9eac5fee64def9a18d8961069f631a176f339a5b.tar.gz
spark-9eac5fee64def9a18d8961069f631a176f339a5b.tar.bz2
spark-9eac5fee64def9a18d8961069f631a176f339a5b.zip
[SPARK-2321] Several progress API improvements / refactorings
This PR refactors / extends the status API introduced in #2696. - Change StatusAPI from a mixin trait to a class. Before, the new status API methods were directly accessible through SparkContext, whereas now they're accessed through a `sc.statusAPI` field. As long as we were going to add these methods directly to SparkContext, the mixin trait seemed like a good idea, but this might be simpler to reason about and may avoid pitfalls that I've run into while attempting to refactor other parts of SparkContext to use mixins (see #3071, for example). - Change the name from SparkStatusAPI to SparkStatusTracker. - Make `getJobIdsForGroup(null)` return ids for jobs that aren't associated with any job group. - Add `getActiveStageIds()` and `getActiveJobIds()` methods that return the ids of whatever's currently active in this SparkContext. This should simplify davies's progress bar code. Author: Josh Rosen <joshrosen@databricks.com> Closes #3197 from JoshRosen/progress-api-improvements and squashes the following commits: 30b0afa [Josh Rosen] Rename SparkStatusAPI to SparkStatusTracker. d1b08d8 [Josh Rosen] Add missing newlines 2cc7353 [Josh Rosen] Add missing file. d5eab1f [Josh Rosen] Add getActive[Stage|Job]Ids() methods. a227984 [Josh Rosen] getJobIdsForGroup(null) should return jobs for default group c47e294 [Josh Rosen] Remove StatusAPI mixin trait. (cherry picked from commit 40eb8b6ef3a67e36d0d9492c044981a1da76351d) Signed-off-by: Reynold Xin <rxin@databricks.com>
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions