Hi,
We're trying to implement some module to help autoscale our pipeline which is built with Flink on YARN. According to the document, the suggested procedure seems to be: 1. cancel job with savepoint 2. start new job with increased YARN TM number and parallelism. However, step 2 always gave error Caused by: java.lang.IllegalStateExceptio at org.apache.flink.runtime.check at org.apache.flink.runtime.check at org.apache.flink.runtime.jobma at org.apache.flink.runtime.jobma at org.apache.flink.runtime.jobma at scala.concurrent.impl.Future$P at scala.concurrent.impl.Future$P at akka.dispatch.TaskInvocation.r at akka.dispatch.ForkJoinExecutor at scala.concurrent.forkjoin.Fork at scala.concurrent.forkjoin.Fork at scala.concurrent.forkjoin.Fork at scala.concurrent.forkjoin.Fork The procedure worked fine if parallelism was not changed. Also want to mention that I didn't manually specify OperatorID in my job. The document does mentioned manually OperatorID assignment is suggested, just curious is that mandatory in my case to fix the problem I'm seeing, given that my program doesn't change at all so the autogenerated operatorID should be unchanged after parallelism increase? thanks, Lei |
Hi Lei, setting explicit operator ID should solve this issue. As far as I know, the auto-generated operator id also depended on the operator parallelism in previous versions of Flink (not sure until which point).Which version are you running? Best, Fabian2017-10-17 3:15 GMT+02:00 Lei Chen <[hidden email]>:
|
Free forum by Nabble | Edit this page |