[jira] [Created] (FLINK-11281) Two test in StateBackendMigrationTestBase failes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11281) Two test in StateBackendMigrationTestBase failes

Shang Yuanchun (Jira)
BoWang created FLINK-11281:
------------------------------

             Summary: Two test in StateBackendMigrationTestBase failes
                 Key: FLINK-11281
                 URL: https://issues.apache.org/jira/browse/FLINK-11281
             Project: Flink
          Issue Type: Bug
            Reporter: BoWang
         Attachments: fail.png

Hi, all.

I foundĀ Flink builds got two stable failures inĀ StateBackendMigrationTestBase of recent PRs, which also occurs in my development environment. The detailed errors are as follows.

This currently doesn't pass because the ListSerializer doesn't respect the reconfigured case, yet.

java.lang.UnsupportedOperationException: The serializer should have been reconfigured as a new instance; shouldn't be used.

at org.apache.flink.runtime.testutils.statemigration.TestType$ReconfigurationRequiringTestTypeSerializer.serialize(TestType.java:160)
 at org.apache.flink.runtime.testutils.statemigration.TestType$ReconfigurationRequiringTestTypeSerializer.serialize(TestType.java:154)
 at org.apache.flink.contrib.streaming.state.RocksDBSerializedCompositeKeyBuilder.serializeKeyGroupAndKey(RocksDBSerializedCompositeKeyBuilder.java:159)
 at org.apache.flink.contrib.streaming.state.RocksDBSerializedCompositeKeyBuilder.setKeyAndKeyGroup(RocksDBSerializedCompositeKeyBuilder.java:96)
 at org.apache.flink.contrib.streaming.state.RocksDBKeyedStateBackend.setCurrentKey(RocksDBKeyedStateBackend.java:383)
 at org.apache.flink.runtime.state.StateBackendMigrationTestBase.testKeySerializerUpgrade(StateBackendMigrationTestBase.java:401)
 at org.apache.flink.runtime.state.StateBackendMigrationTestBase.testStateBackendRestoreSucceedsIfNewKeySerializerRequiresReconfiguration



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)