Skip to content

HBASE-30473 Expose Master switch states as numeric metrics - #8758

Open
junegunn wants to merge 1 commit into
apache:masterfrom
junegunn:HBASE-30473
Open

junegunn wants to merge 1 commit into
apache:masterfrom
junegunn:HBASE-30473

Conversation

@junegunn

@junegunn junegunn commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Jira: https://issues.apache.org/jira/browse/HBASE-30473

Rendered doc

image

Metric

{
   "name": "Hadoop:service=HBase,name=Master,sub=Server",
   "modelerType": "Master,sub=Server",
   "tag.liveRegionServers": "192.168.35.231,16020,1791788928190",
   "tag.deadRegionServers": "",
   "tag.drainingRegionServers": "",
   "tag.zookeeperQuorum": "127.0.0.1:2181",
   "tag.serverName": "192.168.35.231,16000,1791788926592",
   "tag.clusterId": "07aeab61-7d0f-487b-9f71-4bf8d38565c1",
   "tag.isActiveMaster": "true",
   "tag.Context": "master",
   "tag.Hostname": "AD02514045",
   "mergePlanCount": 0,
   "splitPlanCount": 0,
   "masterActiveTime": 1791788928555,
   "masterStartTime": 1791788926592,
   "masterFinishedInitializationTime": 1791788934045,
   "averageLoad": 6.0,
   "onlineRegionCount": 5,
   "offlineRegionCount": 0,
   "numRegionServers": 1,
   "numDeadRegionServers": 0,
   "numDrainingRegionServers": 0,
   "oldWALsDirSize": 0,
   "catalogJanitorEnabled": 1,
   "mergeEnabled": 1,
   "normalizerEnabled": 1,
   "snapshotCleanupEnabled": 1,
   "splitEnabled": 1,
   "replicationPeerModificationEnabled": 1,
   "cleanerChoreEnabled": 1,
   "rpcThrottleEnabled": 0,
   "balancerEnabled": 1,
   "clusterRequests": 19,
   "clusterWriteRequests": 10,
   "clusterReadRequests": 18,
   "ServerCrashTime_num_ops": 1,
   "ServerCrashTime_min": 0,
   "ServerCrashTime_max": 0,
   "ServerCrashTime_mean": 0,
   "ServerCrashTime_25th_percentile": 0,
   "ServerCrashTime_median": 0,
   "ServerCrashTime_75th_percentile": 0,
   "ServerCrashTime_90th_percentile": 0,
   "ServerCrashTime_95th_percentile": 0,
   "ServerCrashTime_98th_percentile": 0,
   "ServerCrashTime_99th_percentile": 0,
   "ServerCrashTime_99.9th_percentile": 0,
   "ServerCrashSubmittedCount": 1,
   "ServerCrashFailedCount": 0
}

@junegunn
junegunn requested a balanced review from Copilot October 12, 2026 07:26
@junegunn junegunn self-assigned this Oct 12, 2026

This comment was marked as off-topic.

@junegunn
junegunn requested a lite review from Copilot October 12, 2026 07:29
- Detect switches left disabled after maintenance.
- Avoid quota-table reads during metrics collection.
- Distinguish unavailable quota states from disabled states.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open findings

🧠 Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants