hcl3039359 opened a new issue #1114:
URL: https://github.com/apache/incubator-linkis/issues/1114


   azkanbanBuilder 是单例,在构造job的过程中,先获取了jobPropsMap到成员变量
   `this.job = 
JobBuilder.getAzkanbanBuilder().setJobProps(this.jobPropsMap).build();`
   
   然后通过azkanbanBuilder .jobProps 对job进行构造。这个过程中,jobProps 线程不安全,导致job构造结果与期望不一致
   `        fillJobInfo(job);
           fillLinkisJobInfo(job);`
   `    protected void fillJobInfo(Job job) {
           job.setCode(jobProps.get(LinkisJobTypeConf.COMMAND));
           job.setParams(new HashMap<String, Object>());
           job.setRuntimeParams(new HashMap<String, Object>());
       }`


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to