Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature][1.5.0] flink loads env.java.opts configuration #5012

Closed
2 tasks done
yangwenzea opened this issue Dec 5, 2023 · 1 comment · Fixed by #5025
Closed
2 tasks done

[Feature][1.5.0] flink loads env.java.opts configuration #5012

yangwenzea opened this issue Dec 5, 2023 · 1 comment · Fixed by #5025
Labels

Comments

@yangwenzea
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

The current streaming Flink job does not record GC logs, making it impossible to view GC related information. In order to solve this problem, the flink engine loads the env.java.opts configuration in flink-config.yaml. The parameter with the same name submitted by the streamis job has a higher priority than the env.java.opts value of the default configuration file, and must be deduplicated.

Description

flink loads env.java.opts configuration

Use case

No response

Solutions

In FlinkisEngineConnFactory, first read the default flink-config.yaml file in the service and obtain the value of the env.java.opts parameter.
Get the user's env.java.opts, split it first by spaces, and then by equal signs. If there are duplicates, replace them with the user's values. If there are no duplicates, add them after the parameters.

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
Copy link

github-actions bot commented Dec 5, 2023

😊 Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context.
We will be here shortly.

If you are interested in contributing to our website project, please let us know!
You can check out our contributing guide on
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
[email protected] community activity information subscribe unsubscribe archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant