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 2021/03/15 22:18:00 UTC

[GitHub] [hbase] ndimiduk commented on a change in pull request #3044: HBASE-25660 Print split policy in use on Region open (as well as spl…

ndimiduk commented on a change in pull request #3044:
URL: https://github.com/apache/hbase/pull/3044#discussion_r594721398



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/BusyRegionSplitPolicy.java
##########
@@ -60,6 +60,12 @@
   private long blockedRequestCount;
   private float blockedRate;
 
+  @Override
+  public String toString() {
+    return "BusyRegionSplitPolicy{" + "maxBlockedRequests=" + maxBlockedRequests + ", minAge="

Review comment:
       Late to the party, but how about using `ToStringBuilder` from apache commons? `SHORT_PREFIX_STYLE` is 👌 




----------------------------------------------------------------
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