Github user steveloughran commented on the pull request:

    https://github.com/apache/spark/pull/6935#issuecomment-166966798
  
    I've updated the patch with the comments, and reworked how the updated 
probe works, removing the need to have provider-specific state cached, returned 
in the callback and cast.
    
    Now, when an app UI is loaded, a probe is returned which has it's 
{{isUpdated()}} predicate evaluated —and if true, a cache refresh triggered. 
The FS probe looks a filesize; the yarn one will do a version counter, anything 
else can do there own.
    
    This is a lot cleaner and purer: the only more puritanical option would be 
to go from an abstract probe class to simply passing a function 
{{Unit=>Boolean}} around.


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