beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavius Aspra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3274) MqttIO CheckpointMark decoding randomly fails
Date Tue, 03 Apr 2018 12:43:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423963#comment-16423963
] 

Flavius Aspra commented on BEAM-3274:
-------------------------------------

We're also affected by this as of v2.4.0.

> MqttIO CheckpointMark decoding randomly fails
> ---------------------------------------------
>
>                 Key: BEAM-3274
>                 URL: https://issues.apache.org/jira/browse/BEAM-3274
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-mqtt
>    Affects Versions: 2.2.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> 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
(v7.6.3#76005)

Mime
View raw message