wecharyu opened a new pull request, #4447: URL: https://github.com/apache/hive/pull/4447
### What changes were proposed in this pull request? 1. throw `TTransportException` directly in `HiveMetastoreClient` rather than wrap it in `MetaException` 2. do not retry connect when encountered `MetaException` ### Why are the changes needed? As discussed in [HIVE-27097](https://issues.apache.org/jira/browse/HIVE-27097), client side only concerns about `TTransportException`, which should also apply to the connection building stage. So we can distinguish `TTransportException` from `MetaException` and stop connect immediately when encountered `MetaException`. ### Does this PR introduce _any_ user-facing change? No. ### Is the change a dependency upgrade? No. ### How was this patch tested? Add a new unit 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org