HBASE-25627: HBase replication should have a metric to represent if the source is...
commitff3821814aa79248ec82f1c07f9d624e7dfb2334
authorSandeep Pal <50725353+sandeepvinayak@users.noreply.github.com>
Wed, 17 Mar 2021 16:10:44 +0000 (17 09:10 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 16:10:44 +0000 (17 09:10 -0700)
treeec05a3351a760346fa3bb263b801e36f7775bd1e
parent976629c046a04c1076c8ec3e30445e271189ebe6
HBASE-25627: HBase replication should have a metric to represent if the source is stuck getting initialized (#3018)

Introduces a new metric that tracks number of replication sources that are stuck in initialization.

Signed-off-by: Xu Cang <xucang@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationGlobalSourceSourceImpl.java
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationSourceSource.java
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationSourceSourceImpl.java
hbase-hadoop-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java