Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/19437#discussion_r146681961 --- Diff: resource-managers/mesos/src/main/scala/org/apache/spark/deploy/mesos/config.scala --- @@ -21,6 +21,39 @@ import java.util.concurrent.TimeUnit import org.apache.spark.internal.config.ConfigBuilder +private[spark] class MesosSecretConfig(taskType: String) { --- End diff -- Just to avoid accidentally trying to instantiate this class in other places, make the constructor private.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org