Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
At present, hbase client metrics is per each individual hconnection and with a pre-configured scope in conf or cluster ID plus connection ID which has generated hash code as suffix. If a client has more than one connections and the scope configuration is common among all connections, the metrics might override each other.
I am proposing connections to share a common metrics object if the connections have a common configured scope.
If a connection identity is not provided, client metrics will continue working per hconnection and has a connection ID as it scope. I.e. no behavior change.