dengzhhu653 commented on code in PR #6552:
URL: https://github.com/apache/hive/pull/6552#discussion_r3529424809
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metastore/GetHelper.java:
##########
@@ -47,8 +47,8 @@
@VisibleForTesting
public abstract class GetHelper<A, T> {
private static final Logger LOG = LoggerFactory.getLogger(GetHelper.class);
- private static final Counter directSqlErrors = Metrics.getRegistry() != null
?
- Metrics.getOrCreateCounter(MetricsConstants.DIRECTSQL_ERRORS) : new
Counter();
+ private static Counter directSqlErrors =
setDirectSqlErrors(Metrics.getRegistry() != null ?
Review Comment:
done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]