Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/5886#issuecomment-98904999
  
    I still don't understand. The "last modification time" is not based on how 
long it took to parse logs. It's based on the modification time of the newest 
log found.
    
    If you scan files at time `t`, all logs will have modification time `<= t`, 
unless some code is doing something funny. The `lastModifiedTime` value in 
`FsHistoryProvider` will be, at most `t`. So it app1's log file changes after 
that poll, its modification time will be `> t` and it will be re-loaded next 
time a poll happens.
    
    But feel free to prove me wrong by writing a test for this.


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