Hi all,

As part of our projects, I experiment with Flink Monitoring REST API and, 
especially, its capabilities of uploading and running jar files.
When I am trying to submit one of our jobs by running a jar previously uploaded 
via '/jars/upload', I am getting an 500 Internal Server Error response with the 
following body:
{ "errors": [ "org.apache.flink.client.program.ProgramInvocationException: The 
main method caused an error." ] }
On the other hand, when I am trying the same with the 'Word Count' batch 
example, execution succeeds.
It must be pointed out that I tried to execute the respective POST request both 
via 'curl' and Postman, but both failed with the same error.

Do anyone have idea why this may happen?

Thanks in advance,
Konstantinos

Reply via email to