RaigorJiang commented on issue #38306:
URL: 
https://github.com/apache/shardingsphere/issues/38306#issuecomment-4038403850

   ### The root causes are:
   1. The proxy `lib` includes `shardingsphere-database-connector-hive`.
   2. `shardingsphere-database-connector-hive` depends on `hive-jdbc`, which is 
a provided-scope dependency and needs to be added manually by the user. (In 
class HiveConnectionPropertiesParser)
   3. When loading the `ConnectionPropertiesParser` SPI, 
`shardingsphere-database-connector-hive` is detected. Due to the missing 
`hive-jdbc` dependency, the target class instantiation fails.
   
   ### Solution: 
   Because `shardingsphere-database-connector-hive` has a strong dependency on 
`hive-jdbc`, it should not be included in the `lib` by default. Consider 
placing it in the `opt-lib` for users to choose from.


-- 
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