Skip to content

HBASE-29289: Make hbase master ui show cluster client connections info#8058

Draft
hingu-8103 wants to merge 1 commit intoapache:masterfrom
hingu-8103:HBASE-29289
Draft

HBASE-29289: Make hbase master ui show cluster client connections info#8058
hingu-8103 wants to merge 1 commit intoapache:masterfrom
hingu-8103:HBASE-29289

Conversation

@hingu-8103
Copy link
Copy Markdown
Contributor

Added ClientConnectionInfo object which tracks client connection info for each client connections and also added ClientConnectionRegistry to track all the active ClientConnectionInfo.

I have added basic tests to test the change and also manually tested on the cluster.


// Verify that the connection is unregistered
connections = registry.getClientConnections();
assertTrue(connections.size() <= initialSize);
Copy link
Copy Markdown
Contributor Author

@hingu-8103 hingu-8103 Apr 10, 2026

Choose a reason for hiding this comment

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

I believe this assertion might introduce flakiness in tests when there are new client connections happens during this test execution by some other test case which is running parallel.

How should i make test robust in this kind of scenarios ?

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.

1 participant