Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Michael Huelfenhaus
I’m not catching the exception and running from shell always works after the ClassNotFoundExeption disappeared. Am 11.08.2015 um 16:18 schrieb Stephan Ewen mailto:se...@apache.org>>: Actually, the ProgramAbortException is something that the web interface does in order to run the program to a

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Stephan Ewen
Actually, the ProgramAbortException is something that the web interface does in order to run the program to a part where the plan is created (for visualization), but the program is not executed. Apparently this logic is a bit broken in the latest version, or you are catching and re-throwing the ex

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Michael Huelfenhaus
I can now reproduce this error and the successful run. When load the jar in the web interface and start the plan the org.apache.flink.client.program.Client$ProgramAbortException happens when I reload the page with the error the plan is shown correct and the execution succeeds. - Michael Am 1

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Michael Huelfenhaus
Hey Stephan the error disappeared after restarting the computer. now I got another one but this is also strange because the program ran once successful and is now failing again without me knowingly changing something. - Michael An error occurred while invoking the program: The program caused

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Stephan Ewen
Hi Michael! Can you try the following: 1) Check whether the class is actually in the jar file (unzip / grep) 2) Can you check in the logs what is the path of the BLOB server temp directory (JobManager and TaskManager). Are there any strange characters / spaces in the path? 3) Can you check in t

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-11 Thread Michael Huelfenhaus
I tried this before without success. Same exception the named class was not found. -Michael Am 06.08.2015 um 14:07 schrieb Matthias J. Sax : > Never mind. Just saw that this in not the problem... > > Sounds weird to me. Maybe you can try to name the class. Anonymous > classes should not be a p

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Matthias J. Sax
Never mind. Just saw that this in not the problem... Sounds weird to me. Maybe you can try to name the class. Anonymous classes should not be a problem, but it should be worth a try. -Matthias On 08/06/2015 01:51 PM, Matthias J. Sax wrote: > If I see it correctly your jar contains > >> com/da

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Matthias J. Sax
If I see it correctly your jar contains > com/davengo/rfidcloud/flink/DaoJoin$1.class But your error message says > ClassNotFoundException: com.otter.ist.flink.DaoJoin$1 Both are different packages. Your jar seems not be correctly packaged. -Matthias On 08/06/2015 12:46 PM, Michael Huelfenha

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Michael Huelfenhaus
I am back at work next Tuesday, any further ideas would be great until then, for now I am continuing inside ecplise. Am 06.08.2015 um 11:27 schrieb Michael Huelfenhaus mailto:m.huelfenh...@davengo.com>>: hi, how did you build the jar file? mvn clean install -Pbuild-jar Have you checked wheth

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Till Rohrmann
Hi Michael, in the flink-test-0.1.jar the class DaoJoin$1.class is located at com/davengo/rfidcloud/flink but Flink tries to load com.otter.ist.flink.DaoJoin$1. This might be the problem. This is somehow odd because in the source code you’ve specified the correct package com.otter.ist.flink. Chee

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Michael Huelfenhaus
hi, how did you build the jar file? mvn clean install -Pbuild-jar Have you checked whether your classes are in the jar file? yes, this seems alright for me > jar tf target/flink-test-0.1.jar META-INF/MANIFEST.MF META-INF/ com/ com/davengo/ com/davengo/rfidcloud/ com/davengo/rfidcloud/flink/ co

Re: java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Robert Metzger
Hi, how did you build the jar file? Have you checked whether your classes are in the jar file? On Thu, Aug 6, 2015 at 11:08 AM, Michael Huelfenhaus < m.huelfenh...@davengo.com> wrote: > Hello everybody > > I am truing to build a very simple streaming application with the nightly > build of flink

java.lang.ClassNotFoundException when deploying streaming jar locally

2015-08-06 Thread Michael Huelfenhaus
Hello everybody I am truing to build a very simple streaming application with the nightly build of flink 0.10, my code runs fine in eclipse. But when I build and deploy the jar locally I always get java.lang.ClassNotFoundException: com.otter.ist.flink.DaoJoin$1 There is also no plan visible in