Re: ClassNotFoundException in custom SourceFunction

2017-12-09 Thread romain.jln
Hi, The problem is that most of the exceptions appear when my job has been running for some hours. The only way for me to reproduce some of those errors is by using the web UI and hitting the cancel button of my job. So if I can find a way to generate this action locally in a test, maybe I can

Re: ClassNotFoundException in custom SourceFunction

2017-12-08 Thread romain.jln
Hi, FYI, I edited my message on the Nabble archive website because I realised I sent the wrong stack trace at first (but I don't know if you've noticed the modification). The first one was actually related to a custom Sink function that sends data to the Eventhub (not sure whether they are

Re: ClassNotFoundException in custom SourceFunction

2017-12-08 Thread romain.jln
Hi, The stack trace is usually something like : Exception in thread "Thread-49" java.lang.NoClassDefFoundError: com/microsoft/azure/eventhubs/amqp/AmqpErrorCode at com.microsoft.azure.eventhubs.ExceptionUtil.toException(ExceptionUtil.java:30) at

ClassNotFoundException in custom SourceFunction

2017-12-07 Thread romain.jln
Hi all, I am experiencing some problems with a custom source that I have implemented. I am getting some ClassNotFoundException randomly during the execution of the job meanwhile the fat jar submitted to Flink contains the given classes. After several hours of investigation, I think I have been