[jira] [Comment Edited] (FLINK-32341) Fix resource requirements rest API response empty result

2023-06-14 Thread chenyuexin (Jira)


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

chenyuexin edited comment on FLINK-32341 at 6/15/23 2:32 AM:
-

I submitting the official example demo job by standalone deployment, the start 
shell commands for JM and TM are as follows
{code:java}
cd flink-1.18-SNAPSHOT/
{code}
{code:java}
cp examples/streaming/StateMachineExample.jar lib
{code}
{code:java}
./bin/standalone-job.sh start -j 
org.apache.flink.streaming.examples.statemachine.StateMachineExample
{code}
{code:java}
./bin/taskmanager.sh start
{code}
flink-conf.xml (key config)
{code:java}
jobmanager.scheduler: Adaptive
state.checkpoints.dir: file:///mylocaldir/checkpoint/
execution.checkpointing.interval: 10s
execution.checkpointing.max-concurrent-checkpoints: 1
execution.checkpointing.min-pause: 0
execution.checkpointing.mode: EXACTLY_ONCE
execution.checkpointing.timeout: 5min
execution.checkpointing.tolerable-failed-checkpoints: 0
execution.checkpointing.unaligned: false
{code}


was (Author: JIRAUSER295713):
I submitting the official example demo job by standalone deployment, the start 
shell commands for JM and TM are as follows

{code:java}
cd flink-1.18-SNAPSHOT/
{code}

{code:java}
cp examples/streaming/StateMachineExample.jar lib
{code}

{code:java}
./bin/standalone-job.sh start -j 
org.apache.flink.streaming.examples.statemachine.StateMachineExample
{code}

{code:java}
./bin/taskmanager.sh start
{code}

flink-conf.xml

{code:java}
jobmanager.scheduler: Adaptive
state.checkpoints.dir: file:///mylocaldir/checkpoint/
execution.checkpointing.interval: 10s
execution.checkpointing.max-concurrent-checkpoints: 1
execution.checkpointing.min-pause: 0
execution.checkpointing.mode: EXACTLY_ONCE
execution.checkpointing.timeout: 5min
execution.checkpointing.tolerable-failed-checkpoints: 0
execution.checkpointing.unaligned: false
{code}


>  Fix resource requirements rest API response empty result
> -
>
> Key: FLINK-32341
> URL: https://issues.apache.org/jira/browse/FLINK-32341
> Project: Flink
>  Issue Type: Bug
>  Components: Runtime / REST
>Affects Versions: 1.18.0
>Reporter: chenyuexin
>Priority: Major
>  Labels: pull-request-available
> Attachments: image-2023-06-14-22-57-57-830.png, 
> image-2023-06-14-22-58-02-270.png
>
>
> I build the latest master branch with flink-1.18-SNAPSHOT, setting adaptive 
> schedule-mode configuration, start a streaming job by standalone deployment 
> and try to change per-vertex desired parallelism through WEB UI, then I found 
> that the get method request for /jobs/:jobid/resource-requirements API did 
> not response anything and then causing the put method request for 
> /jobs/:jobid/resource-requirements is fail to desired parallelism



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (FLINK-32341) Fix resource requirements rest API response empty result

2023-06-14 Thread Chesnay Schepler (Jira)


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

Chesnay Schepler edited comment on FLINK-32341 at 6/14/23 4:24 PM:
---

What kind of job are you submitting? I'm reasonable sure that the feature works 
because we're using it internally, and as I recall there haven't been and 
related changes.
I tried the rest api locally with some reasonable recent master build and it 
works just fine.


was (Author: zentol):
What kind of job are you submitting? I'm reasonable sure that the feature works 
because we're using it internally and the UI actually relies on it.

>  Fix resource requirements rest API response empty result
> -
>
> Key: FLINK-32341
> URL: https://issues.apache.org/jira/browse/FLINK-32341
> Project: Flink
>  Issue Type: Bug
>  Components: Runtime / REST
>Affects Versions: 1.18.0
>Reporter: chenyuexin
>Priority: Major
>  Labels: pull-request-available
> Attachments: image-2023-06-14-22-57-57-830.png, 
> image-2023-06-14-22-58-02-270.png
>
>
> I build the latest master branch with flink-1.18-SNAPSHOT, setting adaptive 
> schedule-mode configuration, start a streaming job by standalone deployment 
> and try to change per-vertex desired parallelism through WEB UI, then I found 
> that the get method request for /jobs/:jobid/resource-requirements API did 
> not response anything and then causing the put method request for 
> /jobs/:jobid/resource-requirements is fail to desired parallelism



--
This message was sent by Atlassian Jira
(v8.20.10#820010)