OSDir


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

Re: Flink 1.6 job cluster mode, job_id is always 00000000000000000000000000000000


Thanks all.

On Mon, Nov 5, 2018 at 2:05 AM Ufuk Celebi <uce@xxxxxxxxxx> wrote:
On Sun, Nov 4, 2018 at 10:34 PM Hao Sun <hasun@xxxxxxxxxxx> wrote:
> Thanks that also works. To avoid same issue with zookeeper, I assume I have to do the same trick?

Yes, exactly. The following configuration [1] entry takes care of this:

high-availability.cluster-id: application-1

This will result in ZooKeeper entries as follows: /flink/application-1/[...].

[1] https://ci.apache.org/projects/flink/flink-docs-master/ops/jobmanager_high_availability.html#config-file-flink-confyaml