Sigma-Ma opened a new pull request, #8497: URL: https://github.com/apache/hbase/pull/8497
(cherry picked from commit 4d417aacea684a9871931a8d30cf029127bb9c28) Backport of #8468 to branch-2, as requested in https://github.com/apache/hbase/pull/8468#issuecomment-5059198943. Cherry-picked from commit 4d417aacea684a9871931a8d30cf029127bb9c28. No branch-specific adaptations were required. ### What changes were proposed in this pull request? Validate `hbase.snapshot.region.timeout` and fall back to the documented default when the configured value is less than or equal to zero. ### Why are the changes needed? An invalid timeout can be passed to `ThreadPoolExecutor`, causing an `IllegalArgumentException` and aborting the RegionServer during startup. ### How was this patch tested? ```bash mvn -Dhadoop.profile=3.0 \ -pl hbase-server -am \ -DskipITs \ -Dtest=TestRegionServerSnapshotManager \ clean 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]
