我在配置单元上启用了ssl,之后,我尝试使用下面的连接url从dbeaver通过jdbc连接到配置单元。
URL1: "jdbc:hive2://hostname:10000/default;ssl=true;sslTrustStore=<path-to-truststore>;trustStorePassword=<password>"
URL2: "jdbc:hive2://hostname:10000/default;ssl=1"
**Error for Url1**: " Unexpected driver error occurred while connecting to database
Illegal character in path at index 57: hive2://dummyhost:00000/default;ssl=true;sslTrustStore=D:\cert\cmhost-keystore.jks;trustStorePassword=xyz"
**Error for Url2**:Could not open client transport with JDBC Uri: jdbc:hive2://192.168.0.180:10000/default;ssl=1: Invalid status 21
Invalid status 21
请纠正我哪里做错了。
暂无答案!
目前还没有任何答案,快来回答吧!