Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9041#discussion_r41589229
  
    --- Diff: 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumePollingInputDStream.scala
 ---
    @@ -93,7 +93,11 @@ private[streaming] class FlumePollingReceiver(
     
       override def onStop(): Unit = {
         logInfo("Shutting down Flume Polling Receiver")
    -    receiverExecutor.shutdownNow()
    +    receiverExecutor.shutdown()
    +    // Wait for a minute for the threads to die
    --- End diff --
    
    nit: "Wait up to" a minute.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to