hanishakoneru commented on a change in pull request #2234:
URL: https://github.com/apache/ozone/pull/2234#discussion_r630357146
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
##########
@@ -883,6 +885,10 @@ private static StorageContainerLocationProtocol
getScmContainerClient(
false)) {
rpcServer.refreshServiceAcl(conf, OMPolicyProvider.getInstance());
}
+
+ rpcServer.addSuppressedLoggingExceptions(OMNotLeaderException.class,
Review comment:
Yes, otherwise we see a lot of noise - "om1 is not the leader"
exceptions, on the server side logs if the 1st OM is not the leader.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]