You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Reuven Lax <re...@google.com> on 2021/07/02 16:37:16 UTC
Running portable Flink tests: Cannot reset an active bundle processor
I'm trying to run some of the ParDoTest tests on portable flink. When I do
so, the log fills up with hundreds of the following errors. Is this known?
java.lang.IllegalArgumentException: Cannot reset an active bundle processor.
at
org.apache.beam.sdk.util.Preconditions.checkArgumentNotNull(Preconditions.java:68)
at
org.apache.beam.fn.harness.BeamFnDataReadRunner.reset(BeamFnDataReadRunner.java:360)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessor.reset(ProcessBundleHandler.java:754)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache.release(ProcessBundleHandler.java:658)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler.processBundle(ProcessBundleHandler.java:357)
at
org.apache.beam.fn.harness.control.BeamFnControlClient.delegateOnInstructionRequestType(BeamFnControlClient.java:140)
at
org.apache.beam.fn.harness.control.BeamFnControlClient$InboundObserver.lambda$onNext$0(BeamFnControlClient.java:110)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Jul 02, 2021 9:35:14 AM
org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache
release
WARNING: Was unable to reset bundle processor safely. Bundle processor will
be discarded and re-instantiated on next bundle for descriptor 3-6.
java.lang.IllegalArgumentException: Cannot reset an active bundle processor.
at
org.apache.beam.sdk.util.Preconditions.checkArgumentNotNull(Preconditions.java:68)
at
org.apache.beam.fn.harness.BeamFnDataReadRunner.reset(BeamFnDataReadRunner.java:360)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessor.reset(ProcessBundleHandler.java:754)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache.release(ProcessBundleHandler.java:658)
at
org.apache.beam.fn.harness.control.ProcessBundleHandler.processBundle(ProcessBundleHandler.java:357)
at
org.apache.beam.fn.harness.control.BeamFnControlClient.delegateOnInstructionRequestType(BeamFnControlClient.java:140)
at
org.apache.beam.fn.harness.control.BeamFnControlClient$InboundObserver.lambda$onNext$0(BeamFnControlClient.java:110)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Re: Running portable Flink tests: Cannot reset an active bundle processor
Posted by Robert Bradshaw <ro...@google.com>.
This check was added to prevent a race condition with liquid sharding.
BundleProcessorCache.release or similar should probably be setting the
active bundle id to null.
On Fri, Jul 2, 2021 at 9:37 AM Reuven Lax <re...@google.com> wrote:
>
> I'm trying to run some of the ParDoTest tests on portable flink. When I do so, the log fills up with hundreds of the following errors. Is this known?
>
> java.lang.IllegalArgumentException: Cannot reset an active bundle processor.
> at org.apache.beam.sdk.util.Preconditions.checkArgumentNotNull(Preconditions.java:68)
> at org.apache.beam.fn.harness.BeamFnDataReadRunner.reset(BeamFnDataReadRunner.java:360)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessor.reset(ProcessBundleHandler.java:754)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache.release(ProcessBundleHandler.java:658)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler.processBundle(ProcessBundleHandler.java:357)
> at org.apache.beam.fn.harness.control.BeamFnControlClient.delegateOnInstructionRequestType(BeamFnControlClient.java:140)
> at org.apache.beam.fn.harness.control.BeamFnControlClient$InboundObserver.lambda$onNext$0(BeamFnControlClient.java:110)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>
> Jul 02, 2021 9:35:14 AM org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache release
> WARNING: Was unable to reset bundle processor safely. Bundle processor will be discarded and re-instantiated on next bundle for descriptor 3-6.
> java.lang.IllegalArgumentException: Cannot reset an active bundle processor.
> at org.apache.beam.sdk.util.Preconditions.checkArgumentNotNull(Preconditions.java:68)
> at org.apache.beam.fn.harness.BeamFnDataReadRunner.reset(BeamFnDataReadRunner.java:360)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessor.reset(ProcessBundleHandler.java:754)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler$BundleProcessorCache.release(ProcessBundleHandler.java:658)
> at org.apache.beam.fn.harness.control.ProcessBundleHandler.processBundle(ProcessBundleHandler.java:357)
> at org.apache.beam.fn.harness.control.BeamFnControlClient.delegateOnInstructionRequestType(BeamFnControlClient.java:140)
> at org.apache.beam.fn.harness.control.BeamFnControlClient$InboundObserver.lambda$onNext$0(BeamFnControlClient.java:110)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)