liupc commented on a change in pull request #9703: [FLINK-14038]Add default GC options for flink on yarn to facilitate debugging URL: https://github.com/apache/flink/pull/9703#discussion_r332413134
########## File path: flink-dist/src/main/flink-bin/bin/config.sh ########## @@ -99,6 +99,9 @@ DEFAULT_ENV_JAVA_OPTS_HS="" # Optional JVM args (History DEFAULT_ENV_SSH_OPTS="" # Optional SSH parameters running in cluster mode DEFAULT_YARN_CONF_DIR="" # YARN Configuration Directory, if necessary DEFAULT_HADOOP_CONF_DIR="" # Hadoop Configuration Directory, if necessary +DEFAULT_JVM_HEAPDUMP_ON_OOM="true" # Whether enable heap dump on ooms +DEFAULT_JVM_HEAPDUMP_DIRECTORY="/tmp" # Heap dump directory Review comment: This directory actually already exists as the DEFAULT_ENV_PID_DIR, please check config.sh#L93 ---------------------------------------------------------------- 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
