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 <[email protected]>
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 <[email protected]>
---
.../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;
}
}