Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/1616#issuecomment-54376322
  
    Actually, I don't think the timestamp will help us here:
    
    If app A and B simultaneously add files named `foo.txt` and simultaneously 
attempt to download this file on the same worker (from different executors), 
then both will see that the cached file doesn't exist and both will attempt to 
download the file by calling the old `fetchFile` with the same name and target 
directory.  This creates a race condition, since they're both attempting to 
write different contents to the same `targetFile`.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to