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:42:23 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


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

commit d8de24c31185cf325ad7fa96df4c455f4c817192
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 1aa7ca1..bb4a4d7 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
@@ -203,6 +203,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();
 
   }
@@ -239,6 +242,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;
   }
 }