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

change only run on ml node setting default value to true #686

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

ylwu-amzn
Copy link
Collaborator

Signed-off-by: Yaliang Wu [email protected]

Description

It's not recommended to run ML tasks on data node. This PR changes only run on ml node setting default value to true. So ML tasks will only run on ML node by default.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ylwu-amzn ylwu-amzn requested a review from a team January 10, 2023 22:49
rbhavna
rbhavna previously approved these changes Jan 10, 2023
Signed-off-by: Yaliang Wu <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2023

Codecov Report

Merging #686 (aa8b941) into 2.x (bbe6ef8) will decrease coverage by 0.04%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##                2.x     #686      +/-   ##
============================================
- Coverage     83.46%   83.42%   -0.05%     
  Complexity      996      996              
============================================
  Files            93       93              
  Lines          3660     3662       +2     
  Branches        342      343       +1     
============================================
  Hits           3055     3055              
- Misses          460      461       +1     
- Partials        145      146       +1     
Flag Coverage Δ
ml-commons 83.42% <33.33%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../java/org/opensearch/ml/task/MLTaskDispatcher.java 32.94% <0.00%> (-0.80%) ⬇️
.../org/opensearch/ml/settings/MLCommonsSettings.java 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ylwu-amzn ylwu-amzn added the enhancement New feature or request label Jan 10, 2023
@ylwu-amzn ylwu-amzn merged commit 9420c91 into opensearch-project:2.x Jan 10, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 10, 2023
* change only run on ml node setting default value to true

Signed-off-by: Yaliang Wu <[email protected]>

* format code

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 9420c91)
ylwu-amzn added a commit that referenced this pull request Jan 11, 2023
* change only run on ml node setting default value to true

Signed-off-by: Yaliang Wu <[email protected]>

* format code

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 9420c91)

Co-authored-by: Yaliang Wu <[email protected]>
ylwu-amzn added a commit to ylwu-amzn/ml-commons that referenced this pull request Feb 17, 2023
…project#686)

* change only run on ml node setting default value to true

Signed-off-by: Yaliang Wu <[email protected]>

* format code

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
ylwu-amzn added a commit to ylwu-amzn/ml-commons that referenced this pull request Mar 2, 2023
…project#686)

* change only run on ml node setting default value to true

Signed-off-by: Yaliang Wu <[email protected]>

* format code

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
ylwu-amzn added a commit that referenced this pull request Mar 2, 2023
* change only run on ml node setting default value to true



* format code

Signed-off-by: Yaliang Wu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.5 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants