knaufk opened a new pull request #8539: [FLINK-12617] [container] StandaloneJobClusterEntrypoint defaults to random JobID for non-HA setups URL: https://github.com/apache/flink/pull/8539 ## What is the purpose of the change ## Brief change log * StandaloneJobClusterEntrypoint defaults to random JobID for non-HA setups * refactor StandaloneJobClusterConfigurationParserFactoryTest to use temporary folder for global Flink configuration ## Verifying this change - run unit tests in flink-container to check the correct defaults are - build Flink locally, build job-cluster image - run a job without HA and check that JobID is random ``` ./build.sh --job-jar ../../flink-examples/flink-examples-streaming/target/flink-examples-streaming_2.11-1.9-SNAPSHOT-TopSpeedWindowing.jar --from-local-dist FLINK_JOB=org.apache.flink.streaming.examples.windowing.TopSpeedWindowing docker-compose up ``` - run a job without HA and explicit JobID and check that parameter takes precedence ``` FLINK_JOB_ARGUMENTS="--job-id 00000000000000000000000000000000" FLINK_JOB=org.apache.flink.streaming.examples.windowing.TopSpeedWindowing docker-compose up ``` ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
