velpro-8620 opened a new pull request, #8458:
URL: https://github.com/apache/hbase/pull/8458

   ### 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?
   
     ```bash
     mvn -pl hbase-client -am -DskipITs -Dtest=TestConnectionConfiguration test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to