Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9263

Kafka010ITCase failed on travis because of the concurrency problem in DefaultOperateStateBackend

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: Connectors / Kafka, Tests
    • Labels:
      None

      Description

      instance: https://travis-ci.org/apache/flink/jobs/371952726

      I found this

      Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Concurrent access to KryoSerializer. Thread 1: pool-26-thread-2 , Thread 2: pool-26-thread-1
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      	at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:53)
      	at org.apache.flink.streaming.api.operators.OperatorSnapshotFinalizer.<init>(OperatorSnapshotFinalizer.java:53)
      	at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:858)
      	... 5 more
      Caused by: java.lang.IllegalStateException: Concurrent access to KryoSerializer. Thread 1: pool-26-thread-2 , Thread 2: pool-26-thread-1
      	at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.enterExclusiveThread(KryoSerializer.java:622)
      	at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.serialize(KryoSerializer.java:254)
      	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:125)
      	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:30)
      	at org.apache.flink.runtime.state.DefaultOperatorStateBackend$PartitionableListState.write(DefaultOperatorStateBackend.java:687)
      	at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:423)
      	at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:352)
      	at org.apache.flink.runtime.io.async.AbstractAsyncCallableWithResources.call(AbstractAsyncCallableWithResources.java:75)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:50)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sihuazhou Sihua Zhou
                Reporter:
                sihuazhou Sihua Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: