GitHub user WangTaoTheTonic opened a pull request:

    https://github.com/apache/flink/pull/3525

    [FLINK-6020]add a random integer suffix to blob key to avoid naming 
conflicting

    In yarn-cluster mode, if we submit one same job multiple times parallelly, 
the task will encounter class load problem and lease occuputation.
    
    Because blob server stores user jars in name with generated sha1sum of 
those, first writes a temp file and move it to finalialize. For recovery it 
also will put them to HDFS with same file name.
    
    In same time, when multiple clients sumit same job with same jar, the local 
jar files in blob server and those file on hdfs will be handled in multiple 
threads(BlobServerConnection), and impact each other.
    
    I've found a way to solve this by adding a random integer suffix to blob 
key. Like changed here.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WangTaoTheTonic/flink FLINK-6020

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3525.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3525
    
----
commit 3d9f41afad9c831431b3c7bd0eb2a8006b92718e
Author: WangTaoTheTonic <wangtao...@huawei.com>
Date:   2017-03-13T11:52:36Z

    add a random integer suffix to blob key to avoid naming conflicting

----


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

Reply via email to