You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/07/24 13:30:55 UTC

[GitHub] [hbase] virajjasani commented on a change in pull request #2132: HBASE-24767 Change default to false for HBASE-15519 per-user metrics

virajjasani commented on a change in pull request #2132:
URL: https://github.com/apache/hbase/pull/2132#discussion_r460052849



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsUserAggregateFactory.java
##########
@@ -28,7 +28,7 @@ private MetricsUserAggregateFactory() {
   }
 
   public static final String METRIC_USER_ENABLED_CONF = "hbase.regionserver.user.metrics.enabled";
-  public static final boolean DEFAULT_METRIC_USER_ENABLED_CONF = true;
+  public static final boolean DEFAULT_METRIC_USER_ENABLED_CONF = false;

Review comment:
       We have many default constants for multiple configs defined in core code, seems like we are not utilizing hbase-default.xml.
   @saintstack it's not related to this PR, but should we have a general guideline to keep config's default values only in `hbase-default.xml` and not in code?




----------------------------------------------------------------
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:
users@infra.apache.org