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 2018/12/29 20:32:49 UTC

[GitHub] mgaido91 commented on a change in pull request #23395: [SPARK-26470][CORE] Use ConfigEntry for hardcoded configs for eventLog category

mgaido91 commented on a change in pull request #23395: [SPARK-26470][CORE] Use ConfigEntry for hardcoded configs for eventLog category
URL: https://github.com/apache/spark/pull/23395#discussion_r244508075
 
 

 ##########
 File path: core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala
 ##########
 @@ -82,8 +83,8 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
       .set("spark.history.fs.update.interval", "0")
       .set("spark.testing", "true")
       .set(LOCAL_STORE_DIR, storeDir.getAbsolutePath())
-      .set("spark.eventLog.logStageExecutorMetrics.enabled", "true")
-      .set("spark.eventLog.logStageExecutorProcessTreeMetrics.enabled", "true")
+      .set(EVENT_LOG_STAGE_EXECUTOR_METRICS.key, "true")
+      .set(EVENT_LOG_PROCESS_TREE_METRICS.key, "true")
 
 Review comment:
   we can do that, but I prefer the current way because it is coherent with the other `set` methods here.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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