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 log level from error to warn when dns resolver initialize failed #2856

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
change log level from error to warn when dns resolver initialize failed
  • Loading branch information
hangc0276 committed Oct 26, 2021
commit 2c854be66f0ee6966c4735e6a0b39a1e49cc6d81
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public RackawareEnsemblePlacementPolicyImpl initialize(ClientConfiguration conf,
}
} catch (RuntimeException re) {
if (!conf.getEnforceMinNumRacksPerWriteQuorum()) {
LOG.error("Failed to initialize DNS Resolver {}, used default subnet resolver ",
LOG.warn("Failed to initialize DNS Resolver {}, used default subnet resolver ",
dnsResolverName, re);
dnsResolver = new DefaultResolver(this::getDefaultRack);
dnsResolver.setBookieAddressResolver(bookieAddressResolver);
Expand Down