git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Could not build the program from JAR file.


Yes, the jar exists.

Both the WordCount example and my custom jar.


I also just redownloaded and reinstalled flink 1.5.2 as I was thinking maybe a dependencies or something was missing... But still the same error...




De : vino yang <yanghua1127@xxxxxxxxx>
Envoyé : mardi 7 août 2018 09:01
À : Gary Yao
Cc : Florian Simond; user@xxxxxxxxxxxxxxxx
Objet : Re: Could not build the program from JAR file.
 
Hi Florian,

The error message is because of a FileNotFoundException, see here[1]. Is there any more information about the exception. Do you make sure the jar exist?


Thanks, vino.

2018-08-07 14:28 GMT+08:00 Gary Yao <gary@xxxxxxxxxxxxxxxxx>:
Hi Florian,

You write that Flink 1.4.2 works but what version is not working for you?

Best,
Gary



On Tue, Aug 7, 2018 at 8:25 AM, Florian Simond <florian.simond@xxxxxxxxxx> wrote:

Hi all,


I'm trying to run the wordCount example on my YARN cluster and this is not working.. I get the error message specified in title: Could not build the program from JAR file.



> $ ./bin/flink run -m yarn-cluster -yn 4 -yjm 1024 -ytm 4096 ./examples/batch/WordCount.jar
> Setting HADOOP_CONF_DIR=/etc/hadoop/conf because no HADOOP_CONF_DIR was set.
> Could not build the program from JAR file.

> Use the help option (-h or --help) to get help on the command.


I also have the same problem with a custom JAR...



With Flink 1.4.2, I have no problem at all. Both the WordCount example and my custom JAR are working...



What do I do wrong ?







( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flink-users/msg11173.html on line 193
Call Stack
#TimeMemoryFunctionLocation
10.0008372792{main}( ).../msg11173.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flink-users/msg11173.html on line 193
Call Stack
#TimeMemoryFunctionLocation
10.0008372792{main}( ).../msg11173.html:0