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:
parent
74df1e1aba
commit
d8de24c311
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue