can you check the log file of the JobManager you're trying to submit the job to?
Maybe there you can find helpful information why it failed.

On Wed, Jan 20, 2016 at 3:23 PM, Ana M. Martinez <ana@cs.aau.dk> wrote:
Hi all,

I am running some experiments with flink in an Amazon cluster and every now and then (it seems to appear at random) I get the following IOException:
> org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Could not upload the jar files to the job manager.

Sometimes when it fails, I just try to run it again immediately afterwords and it works fine. Any idea on why that might be happening?