We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a81517 commit 6747420Copy full SHA for 6747420
core/src/main/scala/org/apache/spark/SparkContext.scala
@@ -2464,9 +2464,8 @@ object SparkContext extends Logging {
2464
cm.initialize(scheduler, backend)
2465
(backend, scheduler)
2466
} catch {
2467
- case NonFatal(e) => {
+ case NonFatal(e) =>
2468
throw new SparkException("External scheduler cannot be instantiated", e)
2469
- }
2470
}
2471
2472
0 commit comments