[jira] [Created] (FLINK-12607) Introduce a REST API that returns the maxParallelism of a job

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

[jira] [Created] (FLINK-12607) Introduce a REST API that returns the maxParallelism of a job

Shang Yuanchun (Jira)
Akshay Kanfade created FLINK-12607:
--------------------------------------

             Summary: Introduce a REST API that returns the maxParallelism of a job
                 Key: FLINK-12607
                 URL: https://issues.apache.org/jira/browse/FLINK-12607
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / REST
    Affects Versions: 1.6.3
            Reporter: Akshay Kanfade


Today, Flink does not offer any way to get the maxParallelism for a job and it's operators through any of the REST APIs. Since, the internal state already tracks maxParallelism for a job and it's operators, we should expose this via the REST APIs so that application developer can get more insights on the current state.

There can be two approaches on how we can do this -

Approach 1 :

Modify the existing rest API response model to additionally expose a new field 'maxParallelism'. Some of the REST APIs that would be affected by this
|h5. */jobs/:jobid/vertices/:vertexid*|

|h5. */jobs/:jobid*|

 

Approach 2 :

Create a new REST API that would only return maxParallelism for a job and it's operators.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)