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][linkis-common] CommonVars should support hot-reload feature. #3497

Closed
1 of 2 tasks
Alexkun opened this issue Sep 21, 2022 · 1 comment
Closed
1 of 2 tasks

Comments

@Alexkun
Copy link
Contributor

Alexkun commented Sep 21, 2022

Search before asking

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

Problem Description

When I changed some configurations, I have to restart the service to load the new configurations.

Description

  1. Add a scheduled task to reload the configurations.
  2. The feature supports all old configurations, and will not be applied as default.
  3. All configurations can independently determine whether or not to apply the feature.

Use case

  1. define a new configuration in scala: "val a = CommonVars('linkis.testvar.name', 'name1', hotReload=true)"
  2. started the service, and then change the configuration in linkis.properties.
  3. check whether the new configuration takes effect.

Solutions

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@github-actions
Copy link

😊 Welcome to the Apache Linkis (incubating) 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
dev@linkis.apache.org community activity information subscribe unsubscribe archive

@Alexkun Alexkun moved this from Bug to Done in Apache Incubator Linkis 1.3.2 Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants