apache / apache/beam

SplittableParDoViaKeyedWorkItems sets another timer when receiving ProcessContinuation#STOP

Open
#19,134 0 comments 0 reactions 0 assignees View on GitHub
bug core direct P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

[HBaseIOTest#testReadingKeyRangeMiddleSDF](https://github.com/apache/beam/blob/b06b8e5df5738e7dc3620f67134da67a4a806758/sdks/java/io/hbase/src/test/java/org/apache/beam/sdk/io/hbase/HBaseIOTest.java#L326) consistently fails if SplittableParDoViaKeyedWorkItems sets the wake-up time to be the resume time when receiving a ProcessContinuation#STOP

Why are we setting another timer to execute after STOP?

Also, why is the direct runner failing to make progress with the timer if it is set in the past relative to the current process time?

Imported from Jira [BEAM-6157](https://issues.apache.org/jira/browse/BEAM-6157). Original Jira may contain additional context.
Reported by: lcwik.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.