You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2020/10/23 00:47:57 UTC

[hbase] branch branch-2 updated: HBASE-25128 RSGroupInfo's toString() and hashCode() does not take into account configuration map. (#2484)

This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new dd0a145  HBASE-25128 RSGroupInfo's toString() and hashCode() does not take into account configuration map. (#2484)
dd0a145 is described below

commit dd0a14538bc30d750997117e75f4fe7e3ca6eff4
Author: sanjeetnishad95 <sa...@gmail.com>
AuthorDate: Fri Oct 23 06:12:00 2020 +0530

    HBASE-25128 RSGroupInfo's toString() and hashCode() does not take into account configuration map. (#2484)
    
    Signed-off-by: Guanghao Zhang <zg...@apache.org>
---
 .../src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java
index c96a80c..e183a61 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java
@@ -164,6 +164,9 @@ public class RSGroupInfo {
     sb.append(", ");
     sb.append(" Tables:");
     sb.append(this.tables);
+    sb.append(", ");
+    sb.append(" Configurations:");
+    sb.append(this.configuration);
     return sb.toString();
 
   }
@@ -200,6 +203,7 @@ public class RSGroupInfo {
     int result = servers.hashCode();
     result = 31 * result + tables.hashCode();
     result = 31 * result + name.hashCode();
+    result = 31 * result + configuration.hashCode();
     return result;
   }
 }