You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/12/21 06:13:20 UTC

[GitHub] [spark] pgandhi999 commented on a change in pull request #34695: [SPARK-32446][CORE] Add percentile distribution REST API & UI of peak memory metrics for all executors

pgandhi999 commented on a change in pull request #34695:
URL: https://github.com/apache/spark/pull/34695#discussion_r772855422



##########
File path: core/src/main/resources/org/apache/spark/ui/static/executorspage.js
##########
@@ -160,6 +170,149 @@ function reselectCheckboxesBasedOnTaskTableState() {
   }
 }
 
+var executorSummaryMetricsTableArray = [];
+var executorSummaryMetricsTableCurrentStateArray = [];
+var executorSummaryMetricsDataTable;
+
+function getColumnNameForExecutorMetricSummary(columnKey) {
+  switch(columnKey) {
+    case "JVMHeapMemory":
+      return "JVM Heap Memory";
+
+    case "JVMOffHeapMemory":
+      return "JVM Off Heap Memory";
+
+    case "OnHeapExecutionMemory":
+      return "On Heap Execution Memory";
+
+    case "OffHeapExecutionMemory":
+      return "Off Heap Execution Memory";
+
+    case "OnHeapStorageMemory":
+      return "On Heap Storage Memory";
+
+    case "OffHeapStorageMemory":
+      return "Off Heap Storage Memory";
+
+    case "OnHeapUnifiedMemory":
+      return "On Heap Unified Memory";
+
+    case "OffHeapUnifiedMemory":
+      return "Off Heap Unified Memory";
+
+    case "DirectPoolMemory":
+      return "Direct Pool Memory";
+
+    case "MappedPoolMemory":
+      return "Mapped Pool Memory";
+
+    case "ProcessTreeJVMVMemory":
+      return "Process Tree JVM Memory";

Review comment:
       I am talking about the column heading, it should be `Process Tree JVM VMemory`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org