Re: Exception in thread main: No such exception errpr

2016-06-03 Thread Debaditya Roy
Hello, Thank you for the advice. I have done that simulation and have successfully got correct results. But there is some problem which I have already raised before. My program basically reads an image file does facial detection (with the help of open cv library) and writes it back to disk. I hav

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Yeah i will do that as a last resort. But the strange fact is in IDE it is working fine. Although I am not entirely aware of the mechanics on how flink is simulated on IDE. On Thu, 2 Jun 2016 17:35 Kostas Kloudas, wrote: > The reason seems to be that somehow an older version of Flink is still in

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
The reason seems to be that somehow an older version of Flink is still in your dependencies. As you can see here: https://issues.apache.org/jira/browse/FLINK-3306 at 0.10 the method you cannot find had 2 arguments and after this commit it has 3

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Yeah I think so. Here is a part of log file. 2016-06-02 18:37:27,376 INFO org.apache.flink.runtime.jobmanager.JobManager- 2016-06-02 18:37:27,377 INFO org.apache.flink.runtime.jobmanager.JobManager

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
Form the Flink logs you see that the version is the correct right (1.0.3)? > On Jun 2, 2016, at 4:19 PM, Debaditya Roy wrote: > > Hello, > > I updated the artifact Id and regenerated the jar, but it is giving the same > error. It is somehow trying to access the method which is not there in the

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Hello, I updated the artifact Id and regenerated the jar, but it is giving the same error. It is somehow trying to access the method which is not there in the updated version. Warm Regards, Debaditya On Thu, Jun 2, 2016 at 4:10 PM, Robert Metzger wrote: > The correct artifact id is flink-yarn-

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Robert Metzger
The correct artifact id is flink-yarn-tests_2.10. On Thu, Jun 2, 2016 at 3:54 PM, Debaditya Roy wrote: > Hi Kostas, > > Doing this throws an error in the pom. > > >org.apache.flink >flink-yarn-tests >${flink.version} > > > 'org.apache.flink:flink-yarn-tests:1.0.3' not found. > > Wa

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Hi Kostas, Doing this throws an error in the pom. org.apache.flink flink-yarn-tests ${flink.version} 'org.apache.flink:flink-yarn-tests:1.0.3' not found. Warm Regards, Debaditya On Thu, Jun 2, 2016 at 3:32 PM, Kostas Kloudas wrote: > Could you replace 0.10-SNAPSHOT with ${flink.ve

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
Could you replace 0.10-SNAPSHOT with ${flink.version} in the pom? Thanks, Kostas > On Jun 2, 2016, at 3:13 PM, Debaditya Roy wrote: > > 0.10-SNAPSHOT

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Hello Kostas, Here is the pom http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 org.myorg.quickstart quickstart 0.1 jar Flink

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
Could you please post your pom file and which version of Flink you downloaded? The latter you can find it in the beginning of the log files. Kostas > On Jun 2, 2016, at 2:55 PM, Debaditya Roy wrote: > > Hi Kostas, > > I followed this > https://ci.apache.org/projects/flink/flink-docs-release-1

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Hi Kostas, I followed this https://ci.apache.org/projects/flink/flink-docs-release-1.0/quickstart/java_api_quickstart.html . Just for your information, in IDE the program is running fine, it is only in the command line when I try to submit it throws me the error. Warm Regards, Debaditya On Thu,

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
Hi Debaditya, When creating your application, did you follow the steps described in: https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/local_execution.html (of course adjusted to the release yo

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Debaditya Roy
Hello Kostas, Thanks for you reply. I don't think that is the case because I am running the application on the jvm of my local machine, not on a distributed cluster. Any other input? Warm Regards, Debaditya On Thu, Jun 2, 2016 at 1:27 PM, Kostas Kloudas wrote: > Hello Debaditya, > > From th

Re: Exception in thread main: No such exception errpr

2016-06-02 Thread Kostas Kloudas
Hello Debaditya, From the exception message you posted it seems that it is a linkage error. Could it be that you are combining different versions of Flink when running your application? E.g. you have version X running on your cluster and you create your jar against version Y on your local mach