flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6143) Unprotected access to this.flink in LocalExecutor#endSession()
Date Tue, 11 Apr 2017 11:09:41 GMT

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

Chesnay Schepler commented on FLINK-6143:
-----------------------------------------

[~mingleizhang] I've given you contributor permissions; you can now assign issues to yourself.

> 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
>            Reporter: Ted Yu
>            Priority: Minor
>
> {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)

Mime
View raw message