kiszk commented on a change in pull request #22874: [SPARK-25865][CORE] Add GC 
information to ExecutorMetrics
URL: https://github.com/apache/spark/pull/22874#discussion_r246882609
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
 ##########
 @@ -98,6 +98,27 @@ package object config {
       .booleanConf
       .createWithDefault(false)
 
+  private[spark] val EVENT_LOG_GARBAGE_COLLECTION_METRICS =
+    ConfigBuilder("spark.eventLog.logStageExecutorGCMetrics.enabled")
+      .booleanConf
+      .createWithDefault(false)
+
+  private[spark] val EVENT_LOG_ADDITIONAL_YOUNG_GENERATION_GARBAGE_COLLECTORS =
+    ConfigBuilder("spark.eventLog.additionalYoungGenerationGarbageCollectors")
+      .doc("Names of additional young generation garbage collector, " +
+        "usually is the return of GarbageCollectorMXBean.getName, e.g. 
ParNew.")
+      .stringConf
+      .toSequence
+      .createWithDefault(Nil)
+
+  private[spark] val EVENT_LOG_ADDITIONAL_OLD_GENERATION_GARBAGE_COLLECTORS =
+    ConfigBuilder("spark.eventLog.additionalOldGenerationGarbageCollectors")
+      .doc("Names of additional old generation garbage collector, " +
+        "usually is the return of GarbageCollectorMXBean.getName, e.g. 
ConcurrentMarkSweep.")
 
 Review comment:
   ditto

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to