You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2017/03/20 14:00:43 UTC
[jira] [Updated] (FLINK-6020) Blob Server cannot hanlde multiple
job sumits(with same content) parallelly
[ https://issues.apache.org/jira/browse/FLINK-6020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-6020:
----------------------------------
Component/s: Distributed Coordination
> Blob Server cannot hanlde multiple job sumits(with same content) parallelly
> ---------------------------------------------------------------------------
>
> Key: FLINK-6020
> URL: https://issues.apache.org/jira/browse/FLINK-6020
> Project: Flink
> Issue Type: Bug
> Components: Distributed Coordination
> Reporter: Tao Wang
> Assignee: Robert Metzger
> Priority: Critical
>
> 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.
> It's better to have a way to handle this, now two ideas comes up to my head:
> 1. lock the write operation, or
> 2. use some unique identifier as file name instead of ( or added up to) sha1sum of the file contents.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)