Skip to content

Conversation

@xinchun-wang
Copy link

What is the purpose of the change

When start JobManager on Yarn mode, only set -Xmx parameter , add -Xms also to avoid high frequency full gc at start up phase.

Brief change log

  • add -Xms when start up JobManager, the value equals -Xmx

Verifying this change

This change added tests and can be verified as follows:
Change unit test method testSetupApplicationMasterContainer in YarnClusterDescriptorTest

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

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @xinchun-wang. LGTM. Merging.

@tillrohrmann tillrohrmann merged commit a53f975 into apache:master Nov 8, 2018
@xinchun-wang xinchun-wang deleted the FLINK-10799 branch November 8, 2018 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants