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

kangTwang commented on FLINK-26668:
-----------------------------------

Hi [~wanglijie95] ,:

_*client log:*_

org.apache.flink.client.program.ProgramInvocationException: The main method 
caused an error: Forward partitioning does not allow change of parallelism. 
Upstream operation: Calc[50]-38 parallelism: -1, downstream operation: 
MultipleInput[75]-90 parallelism: 64 You must use another partitioning 
strategy, such as broadcast, rebalance, shuffle or global.

        at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372)

        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)

        at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114)

        at 
org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:836)

        at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:247)

        at 
org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1078)

        at 
org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1156)

        at 
org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28)

        at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1156)

Caused by: java.lang.UnsupportedOperationException: Forward partitioning does 
not allow change of parallelism. Upstream operation: Calc[50]-38 parallelism: 
-1, downstream operation: MultipleInput[75]-90 parallelism: 64 You must use 
another partitioning strategy, such as broadcast, rebalance, shuffle or global.

_*configurations:*_

jobmanager.scheduler: AdaptiveBatch

jobmanager.adaptive-batch-scheduler.max-parallelism: 128

jobmanager.adaptive-batch-scheduler.min-parallelism: 8

jobmanager.adaptive-batch-scheduler.data-volume-per-task: 6m

jobmanager.adaptive-batch-scheduler.default-source-parallelism: 64

taskmanager.numberOfTaskSlots: 128

parallelism.default: -1

 

> Unsupportedoperation exception caused by createActualEdge error in adaptive 
> batch scheduler
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-26668
>                 URL: https://issues.apache.org/jira/browse/FLINK-26668
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.15.0
>         Environment:  
>  
>            Reporter: kangTwang
>            Priority: Major
>         Attachments: aaa.jpg, bbb.jpg
>
>
> In the AdaptiveBatch TPC DS test, the following error messages appear when 
> executing query_23a,If the upstreamnode is Calc [50], the downstreamnode is 
> multipleinput [75], and they are forwardpartitioners, the parallelism is 
> inconsistent, and an unsupported operationexception is thrown:
> !aaa.jpg!
> Because the error is thrown in the streamgraph stage, the specific DAG 
> diagram cannot be seen. Therefore, non adaptive batch is adopted. The DAG 
> diagram executed is as follows:
> !bbb.jpg!
> Check Calc [50] and find that the downstream operator is HashAggregate[51], 
> not MultipleInput[75]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to