You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by melin li <li...@gmail.com> on 2022/11/29 02:14:09 UTC

Optimize ApplicationDeployer API design

The task is submitted by ApplicationDeployer api, and the run is
synchronous and waiting for the submission to be completed. If the task is
submitted to yarn, it is probably accepted and the yarn applicationID is
not obtained at this time. It is difficult to cancel the task.Recommended
to org. apache. spark.launcher.SparkLauncher design, asynchronous
submission tasks, can obtain applicationId as soon as possible, if you want
to delete the task ahead of time, direct yarn application - kill XXX;

[image: image.png]

SparkAppHandle:
[image: image.png]

[image: image.png]