[ 
https://issues.apache.org/jira/browse/FLINK-6143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970048#comment-15970048
 ] 

ASF GitHub Bot commented on FLINK-6143:
---------------------------------------

Github user asfgit closed the pull request at:

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


> Unprotected access to this.flink in LocalExecutor#endSession()
> --------------------------------------------------------------
>
>                 Key: FLINK-6143
>                 URL: https://issues.apache.org/jira/browse/FLINK-6143
>             Project: Flink
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.3.0
>            Reporter: Ted Yu
>            Assignee: mingleizhang
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> {code}
>   public void endSession(JobID jobID) throws Exception {
>     LocalFlinkMiniCluster flink = this.flink;
>     if (flink != null) {
> {code}
> The flink field is not declared volatile and access to this.flink doesn't 
> hold the LocalExecutor.lock



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to