Github user CodingCat commented on the pull request:

    https://github.com/apache/spark/pull/5004#issuecomment-80698614
  
    @aarondav , thanks for the insightful suggestion
    
    I just updated the patch
    
    the change becomes a bit bigger, as I need to create a new method in Utils 
as `tryOrStopSparkContext`, which is a curried method in the current patch
    
    also, I need to pass a SparkContext reference to `AsynchronousListenerBus` 
to be able to pass sparkContext as the parameter, so I changed the `start()` to 
`start(sparkContext: SparkContext)` in which I set the value of the newly added 
sparkContext variable member of  `AsynchronousListenerBus`
    
    
    



---
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]

Reply via email to