Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/640#discussion_r29427789
  
    --- Diff: 
flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala
 ---
    @@ -475,11 +479,21 @@ class JobManager(val flinkConfiguration: 
Configuration,
               throw new JobSubmissionException(jobId, "The given job is empty")
             }
     
    -        // see if there already exists an ExecutionGraph for the 
corresponding job ID
    -        executionGraph = currentJobs.getOrElseUpdate(jobGraph.getJobID,
    -          (new ExecutionGraph(jobGraph.getJobID, jobGraph.getName,
    -            jobGraph.getJobConfiguration, timeout, 
jobGraph.getUserJarBlobKeys, userCodeLoader),
    -            JobInfo(sender(), System.currentTimeMillis())))._1
    +        executionGraph = currentJob match {
    +          case Some((graph, _)) if !graph.getState.isTerminalState =>
    +              throw new Exception("Job still running")
    --- End diff --
    
    Why can I not append new vertices to a running execution graph?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to