Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/4990#discussion_r28531575
--- Diff:
core/src/main/scala/org/apache/spark/deploy/worker/ExternalShuffleService.scala
---
@@ -64,3 +67,39 @@ class StandaloneWorkerShuffleService(sparkConf:
SparkConf, securityManager: Secu
}
}
}
+
+/**
+ * A main class for running the external shuffle service.
+ */
+object ExternalShuffleService extends Logging {
+ @volatile
+ private var server: ExternalShuffleService = _
+
+ private val barrier = new CountDownLatch(1)
+
+ def main(args: Array[String]): Unit = {
+ val sparkConf = new SparkConf
+ Utils.loadDefaultSparkProperties(sparkConf)
+ val securityManager = new SecurityManager(sparkConf)
+
+ // we override this value since this service is started from the
command line
+ // and we assume the user really wants it to be running
+ sparkConf.set("spark.shuffle.service.enabled", "true")
+ server = new ExternalShuffleService(sparkConf, securityManager)
--- End diff --
we never started this service!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]