xintongsong opened a new pull request #11545: [FLINK-16742][runtime][dist] Extend and use BashJavaUtils to start JM JVM process and pass JVM memory args URL: https://github.com/apache/flink/pull/11545 ## What is the purpose of the change This PR is part of FLIP-116. It makes the start-up shell scripts to launch JM JVM process with the new memory configuration logics and utils. This PR is based on #11520. ## Brief change log - 5dfcdf3ebf479507723bd4c0a501547b7a45d09c: Commit from previous PR. - 759eb202cd8c025c4d53bfe09d52ef35dbd7c573: Minor code clean-ups. - 867c08e019f09038934ce244317ad3fd843f040f: Make `config.sh` not assuming `BashJavaUtis` always return two lines of results. The assumption was true for calculating TM resource, but is not for calculating JM resource. - f1604098dc5ea6b5dd54d6f5add16ed886b0546b: Extend `BashJavaUtils` for JM memory calculations, and use it in start-up scripts for standalone session cluster. - a2bb5b368aec80ca064042c7952da1864302cc1f: Introduce `StandaloneJobClusterBashJavaUtils` for JM memory calculations in standalone job cluster. - 7941e3c63a619044c7d1e74ec8b92d69c01fda95: Remove common memory configuration / calculation codes, which are no longer used, from `config.sh`. ## Verifying this change - Extended `BashJavaUtilsITCase` ## 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, Kubernetes/Yarn/Mesos, ZooKeeper: (yes) - 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: us...@infra.apache.org With regards, Apache Git Services