Hey Guys,
I just want to throw a question regarding the latest flink release 1.4.1. I have a flink topology which was first written using flink version 1.2.0. Since then, we are continuously try to keep our libraries upto date. So, we try to upgrade this same flink topology from version 1.4.0 to 1.4.1. To give a broader view about the toplogy, it is reading the events from Kafka and after some calculations writing the output back into elasticsearch sink. We are using Kafka 1.0.0 and Elasticsearch 5.4.2. After changing the library version from 1.4.0 to 1.4.1, I found some compilation errors because of shaded elasticsearch dependencies (I was using JodaDate from the transitive dependency). After fixing the import problem, I build a new fatJar and deployed it on Flink cluster running with 1.4.1. When I deploy the newly built fatJar, I get following exception: 2018-03-01 17:24:45,873 INFO org.apache.flink.runtime. java.lang. at java.net.URLClassLoader. at java.lang.ClassLoader. at sun.misc.Launcher$ at java.lang.ClassLoader. at java.lang.Class.forName0( at java.lang.Class.forName(Class. at org.apache.flink.util. at java.io.ObjectInputStream. at java.io.ObjectInputStream. at java.io.ObjectInputStream. at java.io.ObjectInputStream. at java.io.ObjectInputStream. at org.apache.flink.util. at org.apache.flink.util. at org.apache.flink.util. at org.apache.flink.util. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.streaming. at org.apache.flink.runtime. at java.lang.Thread.run(Thread. I checked the fat jar and I can see that the class exists there: com/dilax/roadrunner/pcudata/m com/dilax/roadrunner/pcudata/m com/dilax/roadrunner/pcudata/m com/dilax/roadrunner/pcudata/m
Did someone else also reported similar issue? or am I missing something? Also, if I deploy my old jar with 1.4.0 on the same infrastructure it works. I literally used git diff to compare between the two commit and I can only see changes in the lib version and change in the imports for JodaDate. I will investigate it further today and will post if I find the solution. Meanwhile, if someone here also encountered similar issue post upgrade please help. Cheers, Ankit
|
Hi Ankit, This is a known issue in 1.4.1. Please see https://issues.apache.org/jira/browse/FLINK-8741. The release for 1.4.2 will include a fix for this issue, and we already have a release candidate being voted at the moment. Hopefully, it will be released soon, probable early next week. Cheers, Gordon On 2 March 2018 at 4:01:22 PM, Ankit Chaudhary ([hidden email]) wrote:
|
Free forum by Nabble | Edit this page |