Package org.apache.flink.runtime.executiongraph

Examples of org.apache.flink.runtime.executiongraph.Execution.fail()


  public void cancel() {
    if (STATUS_UPDATER.compareAndSet(this, ALLOCATED_AND_ALIVE, CANCELLED)) {
      // kill all tasks currently running in this slot
      Execution exec = this.executedTask;
      if (exec != null && !exec.isFinished()) {
        exec.fail(new Exception("The slot in which the task was scheduled has been killed (probably loss of TaskManager)."));
      }
    }
  }
 
  public void releaseSlot() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.