spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayousterhout <...@git.apache.org>
Subject [GitHub] spark pull request: Add getListenerBus() in SparkContext.
Date Tue, 25 Mar 2014 19:53:12 GMT
Github user kayousterhout commented on the pull request:

    https://github.com/apache/spark/pull/221#issuecomment-38612256
  
    If we have the readyToStopFlag, is the idea that an application will just
    keep checking the flag until it's true?
    
    
    On Tue, Mar 25, 2014 at 12:35 PM, Zongheng Yang <notifications@github.com>wrote:
    
    > Thanks for the input, @andrewor14 <https://github.com/andrewor14>. Yeah
    > exposing the listener bus enables users to post events to it. I think your
    > second workaround does the job and is simpler to implement than the first;
    > we could set the flag when the shut down message is being processed (it is
    > possible for the bus to be empty but there are events coming). If everyone
    > agrees I can close this PR & send in a new one.
    >
    > --
    > Reply to this email directly or view it on GitHub<https://github.com/apache/spark/pull/221#issuecomment-38610336>
    > .
    >


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

Mime
View raw message