Skip to content

Commit

Permalink
HDDS-11449. Remove unnecessary log from client console. (apache#7184)
Browse files Browse the repository at this point in the history
Co-authored-by: ashishk <[email protected]>
  • Loading branch information
ashishkumar50 and ashishk authored Sep 11, 2024
1 parent cd251f2 commit 0e49f7a
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,11 @@ public static boolean canEnableHsync(ConfigurationSource conf, boolean isClient)
if (confHBaseEnhancementsAllowed) {
return confHsyncEnabled;
} else {
LOG.warn("Ignoring {} = {} because HBase enhancements are disallowed. To enable it, set {} = true as well.",
OzoneConfigKeys.OZONE_FS_HSYNC_ENABLED, confHsyncEnabled,
confKey);
if (confHsyncEnabled) {
LOG.warn("Ignoring {} = {} because HBase enhancements are disallowed. To enable it, set {} = true as well.",
OzoneConfigKeys.OZONE_FS_HSYNC_ENABLED, true,
confKey);
}
return false;
}
}
Expand Down

0 comments on commit 0e49f7a

Please sign in to comment.