The GitHub Actions job "Build Docker Image" on 
flink-kubernetes-operator.git/FLINK-40047 has failed.
Run started by GitHub user mdemierre (triggered by ferenc-csaky).

Head commit for run:
65fb958f84405a0573344e6918279b77810e76d9 / Marc Demierre 
<[email protected]>
[FLINK-38795] Support Flink 2.0+ HA in standalone mode

The standalone JobManager decorator passed the pod IP to the entrypoint using
the --host CLI argument (application mode) and a bare positional argument
(session mode). The --host argument was removed from the standalone entrypoints
in Flink 2.0, breaking standalone HA deployments.

Replace it with the dynamic property jobmanager.rpc.address=$(POD_IP), which is
valid in both Flink 1.x and 2.x, so no version detection is required. The
property is emitted as two tokens ("-D" then "key=value"): the standalone
jobmanager.sh entrypoint script treats the first argument as a hostname unless
it is exactly "-D", so a single "-Dkey=value" token would be misparsed as the
JobManager host.

Strengthen the tests to feed the generated args through Flink's real standalone
entrypoint parsers (StandaloneApplicationClusterConfigurationParserFactory for
application mode, EntrypointClusterConfigurationParserFactory for session mode)
and assert they resolve to jobmanager.rpc.address, guarding against a future
Flink version removing or renaming the generated args as --host was. Adds
flink-container as a test-scoped dependency for the application entrypoint
parser.

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/29051350878

With regards,
GitHub Actions via GitBox

Reply via email to