Hi Team, We are getting one weird issue. Our appli...
# troubleshooting
k
Hi Team, We are getting one weird issue. Our application uses flink version 1.15 and flink kubernetes operator version 1.6.1. Our job contains one job manager and 2 task managers. It works fine for few days and suddenly gets below error. It is happening at least once in a week. Job goes into continues restart state and we have to redeploy application with "upgradeMode: stateless". Automatic restart from previous savepoint doesn't happen. I found similar bug here : https://issues.apache.org/jira/browse/FLINK-32212 , but not able to get any fixes. Can someone please help.
Copy code
{"level": "WARN", "timestamp": "2023-12-06 13:05:32,344","message": "Source: Kafka CFOrders -> Map (1/4)#474 (d64ef21ef27838d158496b7fcca5794f_9edafc13cc74567d5c106d1a240c2957_0_474) switched from DEPLOYING to FAILED with failure cause: java.lang.IllegalStateException: The library registration references a different set of library BLOBs than previous registrations for this job:
old:[p-cdc56c17ee31b22d7bb2f760a05df88beeb8028c-e53ae4f092a485f3ace6613171a11e39]
new:[p-cdc56c17ee31b22d7bb2f760a05df88beeb8028c-6800f4669cf0c0aced82c1a3761a7a92]
	at org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager$ResolvedClassLoader.verifyClassLoader(BlobLibraryCacheManager.java:419)
	at org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager$ResolvedClassLoader.access$500(BlobLibraryCacheManager.java:359)
	at org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager$LibraryCacheEntry.getOrResolveClassLoader(BlobLibraryCacheManager.java:235)
	at org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager$LibraryCacheEntry.access$1100(BlobLibraryCacheManager.java:202)
	at org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManager$DefaultClassLoaderLease.getOrResolveClassLoader(BlobLibraryCacheManager.java:336)
	at org.apache.flink.runtime.taskmanager.Task.createUserCodeClassloader(Task.java:1024)
	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:612)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:550)
	at java.base/java.lang.Thread.run(Unknown Source)
g
I haven’t seen this error before but it’s most likely not related to the Kubernetes Operator . That may help in searching the solution :)
k
Yes not related to Kubernetes Operator 🙂 But mostly looks like restarting service with previous savepoint. Application is looking for different state but actually found another state.