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 2020/11/18 06:13:06 UTC
[GitHub] [spark] mridulm commented on a change in pull request #30405: [SPARK-33476][CORE] Generalize ExecutorSource to expose user-given file system schemes
mridulm commented on a change in pull request #30405:
URL: https://github.com/apache/spark/pull/30405#discussion_r525836701
##########
File path: core/src/main/scala/org/apache/spark/executor/Executor.scala
##########
@@ -110,7 +110,9 @@ private[spark] class Executor(
.build()
Executors.newCachedThreadPool(threadFactory).asInstanceOf[ThreadPoolExecutor]
}
- private val executorSource = new ExecutorSource(threadPool, executorId)
+ private val schemes = conf.get(EXECUTOR_METRICS_FILESYSTEM_SCHEMES)
+ .toLowerCase(Locale.ROOT).split(",").map(_.trim)
Review comment:
nit: filter empty after `map` ?
----------------------------------------------------------------
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.
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