This is a longshot I guess. I upgraded from Flink ...
# troubleshooting
n
This is a longshot I guess. I upgraded from Flink 1.17.1 to 1.19 and getting the following error:
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.LeaseRecoverable
It's running in Session Mode. If anyone has an idea please share
r
This could be a bug... it seems that LeaseRecoverable doesn't exist in Hadoop 3.2.3 (the minimum version 3.x that Flink 1.17+ supports), noting HADOOP-18671. Is there additional information in the stack track about how Flink 1.19 arrived at needing this class? Are you including hadoop jars in your job and if so, which version?
n
@Ryan Skraba sorry missed your reply! So I have been to hell and back with this upgrade and it had nothing to do with Flink and everything to do with Java and Maven and how we build our Docker image. This specific one only happened in our deployment environment due to... One of the classes not being included by the Maven shade plugin so we had to manually add it to the Docker image. Locally... well I can't remember now why it wasn't an issue. I also upgraded to Java 21 and tests etc. ran fine until I realized there isn't an official Docker image yet and I'm definitely not going to roll my own. So we are on
1.18.1
and Java
17
now.