[FLINK-39264][docs] Add docs for application management#27818
[FLINK-39264][docs] Add docs for application management#27818eemario wants to merge 1 commit intoapache:masterfrom
Conversation
| Even after all applications are finished, the cluster (and the JobManager) will | ||
| keep running until the session is manually stopped. The lifetime of a Flink | ||
| Session Cluster is therefore not bound to the lifetime of any Flink Job. | ||
| Session Cluster is therefore not bound to the lifetime of any Flink Application. |
There was a problem hiding this comment.
of any Flink Application. -> of any Flink Application or job.
| * **Cluster Lifecycle**: in a Flink Session Cluster, the client connects to a | ||
| pre-existing, long-running cluster that can accept multiple job submissions. | ||
| Even after all jobs are finished, the cluster (and the JobManager) will | ||
| pre-existing, long-running cluster that can accept multiple application submissions. |
There was a problem hiding this comment.
I suggest a hyper link to the definition of application would be useful, or a quick summary.
I wonder if it is still mentioning jobs as well as applications. Or is every job now in an applicaiton?
|
|
||
| #### ApplicationResultStore | ||
|
|
||
| The ApplicationResultStore is a Flink component that persists the results of terminated |
There was a problem hiding this comment.
It would be worth doing into more detail as to what we mean by Results is this the last checkpoint / savepoint?
| **JobManager** | ||
|
|
||
| The archiving of completed jobs happens on the JobManager, which uploads the archived job information to a file system directory. You can configure the directory to archive completed jobs in [Flink configuration file]({{< ref "docs/deployment/config#flink-configuration-file" >}}) by setting a directory via `jobmanager.archive.fs.dir`. | ||
| The archiving of completed jobs and applications happens on the JobManager, which uploads the archived job and application information to a file system directory. You can configure the directory to archive completed jobs and applications in [Flink configuration file]({{< ref "docs/deployment/config#flink-configuration-file" >}}) by setting a directory via `jobmanager.archive.fs.dir`. |
There was a problem hiding this comment.
is this different from the application results store - as these are archives - it would be worth contrasting the two if they are different or referring to them in the same way if they are the same.
|
|
||
| - `/applications/overview` | ||
| - `/applications/<applicationid>` | ||
| - `/applications/<applicationid>/jobmanager/config` |
There was a problem hiding this comment.
can you see the jobs that were under an application? This would seem to be the most useful thing you would want to see.
|
|
||
| JobManager High Availability (HA) hardens a Flink cluster against JobManager failures. | ||
| This feature ensures that a Flink cluster will always continue executing your submitted jobs. | ||
| This feature ensures that a Flink cluster will always re-execute your submitted applications that were running at the time of a failure. |
| The HA data will be kept until the respective job either succeeds, is cancelled or fails terminally. | ||
| Once this happens, all the HA data, including the metadata stored in the HA services, will be deleted. | ||
| In order to recover submitted applications, Flink persists metadata for the applications. | ||
| The HA data will be kept until the respective application either succeeds, is cancelled or fails terminally. |
There was a problem hiding this comment.
I am curious what fails terminally might mean - some examples of types of this would be useful.
What is the purpose of the change
This pull request adds docs for application management.
Brief change log
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (no)Documentation