Skip to content

HBASE-30247 Validate negative client timeout configuration#8458

Open
velpro-8620 wants to merge 1 commit into
apache:masterfrom
velpro-8620:HBASE-30247
Open

HBASE-30247 Validate negative client timeout configuration#8458
velpro-8620 wants to merge 1 commit into
apache:masterfrom
velpro-8620:HBASE-30247

Conversation

@velpro-8620

Copy link
Copy Markdown

What changes were proposed in this pull request?

This change validates negative client timeout configuration values when constructing
ConnectionConfiguration.

Invalid values such as hbase.rpc.timeout=-1 now fail early with
IllegalArgumentException instead of later failing during batch Put in
AsyncProcess.

Why are the changes needed?

HBASE-30247 reports that a negative hbase.rpc.timeout is accepted during client
configuration and only fails later at runtime during batch operations.

Failing fast makes the configuration error easier to diagnose and prevents the
surprising runtime exception path.

How was this patch tested?

mvn -pl hbase-client -am -DskipITs -Dtest=TestConnectionConfiguration test

@Sigma-Ma

Copy link
Copy Markdown
Contributor

Hi maintainers, the three GitHub Actions workflows for this fork PR are awaiting approval. This PR does not modify any workflow files.

Could someone with write access approve them when convenient? Thanks!

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