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

[YUNIKORN-2189] Change the log level of "adding node to cache" from WARN to INFO #737

Closed
wants to merge 1 commit into from

Conversation

brandboat
Copy link
Member

What is this PR for?

change log level adding node to cache from WARN to INFO.
the other logs having similar output are using INFO level.
https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L542
https://github.com/apache/yunikorn-k8shim/blob/master/pkg/cache/nodes.go#L103

What type of PR is it?

  • - Improvement

Todos

N/A

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-2189

How should this be tested?

only change log level.

Screenshots (if appropriate)

N/A

Questions:

N/A

@craigcondit
Copy link
Contributor

Please hold off on this. That code is in the process of being substantially refactored as part of the scheduler init work. In fact, nodes.go no longer exists in my latest draft PR.

@pbacsko
Copy link
Contributor

pbacsko commented Nov 27, 2023

@brandboat please put this PR back to Draft. This code is being rewritten.

Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (779450c) 69.52% compared to head (e65017d) 69.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #737      +/-   ##
==========================================
- Coverage   69.52%   69.43%   -0.09%     
==========================================
  Files          50       50              
  Lines        7993     7993              
==========================================
- Hits         5557     5550       -7     
- Misses       2248     2254       +6     
- Partials      188      189       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@brandboat brandboat marked this pull request as draft November 27, 2023 15:06
@craigcondit
Copy link
Contributor

Closing as this was addressed in the PR for YUNIKORN-2180.

@craigcondit craigcondit closed this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants