[jira] [Created] (FLINK-6310) LocalExecutor#endSession() uses wrong lock for synchronization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6310) LocalExecutor#endSession() uses wrong lock for synchronization

Shang Yuanchun (Jira)
Ted Yu created FLINK-6310:
-----------------------------

             Summary: LocalExecutor#endSession() uses wrong lock for synchronization
                 Key: FLINK-6310
                 URL: https://issues.apache.org/jira/browse/FLINK-6310
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


Here is related code:
{code}
  public void endSession(JobID jobID) throws Exception {
    synchronized (LocalExecutor.class) {
      LocalFlinkMiniCluster flink = this.flink;
{code}
In other places, lock field is used for synchronization:
{code}
  public void start() throws Exception {
    synchronized (lock) {
{code}



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