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 2019/01/03 23:40:44 UTC
[GitHub] vanzin commented on a change in pull request #23416:
[SPARK-26463][CORE] Use ConfigEntry for hardcoded configs for scheduler
categories.
vanzin commented on a change in pull request #23416: [SPARK-26463][CORE] Use ConfigEntry for hardcoded configs for scheduler categories.
URL: https://github.com/apache/spark/pull/23416#discussion_r245168009
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -724,4 +773,120 @@ package object config {
.stringConf
.toSequence
.createWithDefault(Nil)
+
+ private[spark] val CLEANER_PERIODIC_GC_INTERVAL =
+ ConfigBuilder("spark.cleaner.periodicGC.interval")
+ .timeConf(TimeUnit.SECONDS)
+ .createWithDefaultString("30min")
+
+ private[spark] val CLEANER_REFERENCE_TRACKING =
+ ConfigBuilder("spark.cleaner.referenceTracking")
+ .booleanConf
+ .createWithDefault(true)
+
+ private[spark] val CLEANER_REFERENCE_TRACKING_BLOCKING =
+ ConfigBuilder("spark.cleaner.referenceTracking.blocking")
+ .booleanConf
+ .createWithDefault(true)
+
+ private[spark] val CLEANER_REFERENCE_TRACKING_BLOCKING_SHUFFLE =
+ ConfigBuilder("spark.cleaner.referenceTracking.blocking.shuffle")
+ .booleanConf
+ .createWithDefault(false)
+
+ private[spark] val CLEANER_REFERENCE_TRACKING_CLEAN_CHECKPOINTS =
+ ConfigBuilder("spark.cleaner.referenceTracking.cleanCheckpoints")
+ .booleanConf
+ .createWithDefault(false)
+
+ private[spark] val RPC_ASK_TIMEOUT =
Review comment:
Could you add a new `Network.scala` for these? If there are any existing network settings in this file you could also move them over.
----------------------------------------------------------------
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