diff options
Diffstat (limited to 'streaming/src/main/scala/org')
-rw-r--r-- | streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala b/streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala index b28ff5d9d8..24d57548c3 100644 --- a/streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala +++ b/streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala @@ -63,7 +63,7 @@ class JobScheduler(val ssc: StreamingContext) extends Logging { } def stop() = synchronized { - if (eventActor != null) { + if (networkInputTracker != null) { jobGenerator.stop() networkInputTracker.stop() executor.shutdown() |