HunterChunchun opened a new pull request #17289:
URL: https://github.com/apache/flink/pull/17289


   ## The purpose of the change
   To optimize the sharing mechanism of user jar, so that the jar of one job 
only needs to be downloaded once a machine. For more specific descriptions, 
please visit [FLINK-24293](https://issues.apache.org/jira/browse/FLINK-24293).
   
   ## Brief change log
   + Change getFileInternal method in AbstractBlobCache
   All tasks from the same job on a machine will download or read user jars 
concurrently. Those tasks may be executed by different TaskExecutors on this 
machine. We use FileLock instead of ReadWriteLock to control the process of 
downloading.
   + Change initLocalStorageDirectory method in BlobUtils
   Remove the random logic when building BLOB storage directory.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to