From 5a7faf44851acf0424015be9db3784adadc0ce5a Mon Sep 17 00:00:00 2001 From: Andrew Or Date: Sun, 3 May 2015 17:01:39 -0700 Subject: [PATCH] Rename references to viz scopes to viz clusters The term 'scope' is really overloaded. A scope should be logically agnostic to how it is represented in the UI. We rename all such references to 'cluster', which represents either an operator scope, a stage, or a job. --- .../scala/org/apache/spark/ui/UIUtils.scala | 2 +- .../spark/ui/viz/VisualizationListener.scala | 2 +- .../org/apache/spark/ui/viz/VizGraph.scala | 103 ++++++++++-------- 3 files changed, 62 insertions(+), 45 deletions(-) diff --git a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala index 3b2b944da725b..0f1ea20413db6 100644 --- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala +++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala @@ -358,7 +358,7 @@ private[spark] object UIUtils extends Logging {
{ graphs.map { g => -