Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6143

Unprotected access to this.flink in LocalExecutor#endSession()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: Client
    • Labels:
      None

      Description

        public void endSession(JobID jobID) throws Exception {
          LocalFlinkMiniCluster flink = this.flink;
          if (flink != null) {
      

      The flink field is not declared volatile and access to this.flink doesn't hold the LocalExecutor.lock

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mingleizhang mingleizhang
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: