voonhous opened a new pull request, #19681: URL: https://github.com/apache/hudi/pull/19681
### Describe the issue this Pull Request addresses Closes #19679. The sync_validate fail-fast test expects an unreachable-HS2 connect to fail with an SQLException, but on the default classpath the Hive 2.3.10 jars run against spark-hive's libthrift 0.12.0, so the connect dies in transport setup with `NoClassDefFoundError: TConfiguration` and the latestPartitions pin fails. The classpath mismatch itself is tracked in #19680. ### Summary and Changelog - Point the last test at a hostless URL (`jdbc:hive2://:10000`): the driver rejects it during URL parsing with JdbcUriParseException (an SQLException subclass), before any thrift class loads, so both cause-chain pins hold regardless of which libthrift wins resolution. - Updated the test name and comments to describe the parse-time failure. ### Impact Test-only. ### Risk Level none ### Documentation Update none ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable -- 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]
