Folks,
We have few flink jobs - built as separate executable Jars
Each of this flink jobs is using the following to run -
> StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
>
> try {
> env.execute("FLINK-JOB");
> } catch (Exception ex) {
> // Some message
> }
But when we deploy these Flink jobs (5 in all) - only one runs and the other one closes.
the way we deploy is via bin/flink run
Thanks Much
env.execute()
. If you throw an exception there, Flink will write it to logs and generally make it easy for you to see. - CantankerousBullMoose