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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • Command Line Client
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: