You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/11/30 14:40:01 UTC
[jira] [Created] (BEAM-3274) MqttIO CheckpointMark decoding
randomly fails
Jean-Baptiste Onofré created BEAM-3274:
------------------------------------------
Summary: MqttIO CheckpointMark decoding randomly fails
Key: BEAM-3274
URL: https://issues.apache.org/jira/browse/BEAM-3274
Project: Beam
Issue Type: Bug
Components: sdk-java-extensions
Affects Versions: 2.2.0
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Randomly, the decoding of MQTT CheckpointMark randomly fails:
{code}
Caused by: org.apache.beam.sdk.coders.CoderException: 95 unexpected extra bytes after decoding org.apache.beam.sdk.io.mqtt.MqttIO$MqttCheckpointMark@14922739
at org.apache.beam.sdk.util.CoderUtils.decodeFromByteArray(CoderUtils.java:116)
at org.apache.beam.sdk.util.CoderUtils.decodeFromByteArray(CoderUtils.java:107)
at org.apache.beam.sdk.util.CoderUtils.clone(CoderUtils.java:156)
at org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.getReader(UnboundedReadEvaluatorFactory.java:191)
at org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.processElement(UnboundedReadEvaluatorFactory.java:127)
at org.apache.beam.runners.direct.TransformExecutor.processElements(TransformExecutor.java:146)
at org.apache.beam.runners.direct.TransformExecutor.run(TransformExecutor.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
It happens especially when the number of messages to consume from the MQTT topic is high.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)