Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/5886#issuecomment-101352117
  
    > what about introduce a hashMap to maintain the filename, modifiedTime of 
each file
    
    That is pretty expensive for all files -  hash maps use a ton of extra 
memory per entry. If you do that just for the files that have `modTime > 
lastScanTime`, that's a lot more manageable. Not great, but I can't think of 
anything better at the moment.


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