Hi Kamil, When the producer receives the PartitionRequest from downstream task, first it will check whether the requested partition is already registered. If not, it will reponse PartitionNotFoundException. And the upstream task is submitted and begins to run, it will registered all its partitions into ResultPartitionManager. So your case is that the partition request is arrived before the partition registration. Maybe the upstream task is submitted delay by JobManager or some logics delay before register task in NetworkEnvironment. You can debug the specific status in upstream when response the PartitionNotFound to track the reason. Wish your further findings! Cheers, Zhijiang
|
Ok thanks I will try to debug it. But my initial thought was that it should be possible to increase some timeout/wait value to not have it. If it only occurs during initial start and after restarting works fine. Any idea of such property in flink? On Tue, Apr 4, 2017 at 6:03 PM, Zhijiang(wangzhijiang999) <[hidden email]> wrote:
|
In reply to this post by Zhijiang(wangzhijiang999)
Yes, it should be an improvement to add some timeout/wait mechanism to avoid such exception as you mentioned. Currently the LAZY_FROM_SOURCES schedule mode can avoid this issue, but for streaming job it is not suggested to use this schedule mode. Maybe there are other ways to work around after you find the reason for your case. Wish your sharing! cheers, Zhijiang
|
Free forum by Nabble | Edit this page |