You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/09 14:19:42 UTC

[jira] [Updated] (FLINK-6143) Unprotected access to this.flink in LocalExecutor#endSession()

     [ https://issues.apache.org/jira/browse/FLINK-6143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated FLINK-6143:
--------------------------
    Description: 
{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

  was:
{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


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