[ 
https://issues.apache.org/jira/browse/FLINK-12607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290724#comment-17290724
 ] 

John Phelan commented on FLINK-12607:
-------------------------------------

hey [~rmetzger] [~trohrmann] I opened a [github 
PR|https://github.com/apache/flink/pull/15017] for this.

I think the max parallelism values make sense. bumping one 
`ArchivedExecutionConfig` `serializeVersionUID` seems prudent.

It looks like the rest api documentation automatically updates? Is that true?

I was able to build and test manually, but it seems maven tests can't run well 
under WSL per [dev mailing list 
discussion|http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/First-development-steps-broken-build-workarounds-tp48619p48622.html]?
 Will the test suite run against the PR or is there some other way I can 
trigger tests running against the PR?

I'm excited about the change!


> 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
>            Assignee: John Phelan
>            Priority: Minor
>              Labels: pull-request-available, starter
>
> 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
(v8.3.4#803005)

Reply via email to