HBASE-25128 RSGroupInfo's toString() and hashCode() does not take into account configuration map. (#2484)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
sanjeetnishad95 2020-10-23 06:12:00 +05:30 committed by GitHub
parent 74df1e1aba
commit d8de24c311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}