Thanks everyone. I'll start voting after the New Year's holiday if there's no further comment.
Best, Zhanghao Chen ________________________________ From: Benchao Li <libenc...@apache.org> Sent: Friday, December 22, 2023 21:18 To: dev@flink.apache.org <dev@flink.apache.org> Subject: Re: [DISCUSS] FLIP-397: Add config options for administrator JVM options +1 from my side, I also met some scenarios that I wanted to set some JVM options by default for all Flink jobs before, such as '-XX:-DontCompileHugeMethods', without it, some generated big methods won't be optimized in JVM C2 compiler, leading to poor performance. Zhanghao Chen <zhanghao.c...@outlook.com> 于2023年11月27日周一 20:04写道: > > Hi devs, > > I'd like to start a discussion on FLIP-397: Add config options for > administrator JVM options [1]. > > In production environments, users typically develop and operate their Flink > jobs through a managed platform. Users may need to add JVM options to their > Flink applications (e.g. to tune GC options). They typically use the > env.java.opts.x series of options to do so. Platform administrators also have > a set of JVM options to apply by default, e.g. to use JVM 17, enable GC > logging, or apply pretuned GC options, etc. Both use cases will need to set > the same series of options and will clobber one another. Similar issues have > been described in SPARK-23472 [2]. > > Therefore, I propose adding a set of default JVM options for administrator > use that prepends the user-set extra JVM options. > > Looking forward to hearing from you. > > [1] > https://cwiki.apache.org/confluence/display/FLINK/FLIP-397%3A+Add+config+options+for+administrator+JVM+options > [2] https://issues.apache.org/jira/browse/SPARK-23472 > > Best, > Zhanghao Chen -- Best, Benchao Li