Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33221

Add config options for administrator JVM options

    XMLWordPrintableJSON

Details

    • A set of administrator JVM options are available, which prepend the user-set extra JVM options for platform-wide JVM tuning.

    Description

      We encounter similar issues described in SPARK-23472. Users may need to add JVM options to their Flink applications (e.g. to tune GC options). They typically use env.java.opts.x series of options to do so. We also have a set of administrator JVM options to apply by default, e.g. to enable GC log, tune GC options, etc. Both use cases will need to set the same series of options and will clobber one another.

      In the past, we generated and pretended to the administrator JVM options in the Java code for generating the starting command for JM/TM. However, this has been proven to be difficult to maintain.

      Therefore, I propose to also add a set of default JVM options for administrator use that prepends the user-set extra JVM options. We can mark the existing env.java.opts.x series as user-set extra JVM options and add a set of new env.java.opts.x.default options for administrator use.

      Attachments

        Issue Links

          Activity

            People

              Zhanghao Chen Zhanghao Chen
              Zhanghao Chen Zhanghao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: