kerberos 激活JDBC连接hive
代码片段:
public Connection getConnection() throws IOException, SQLException, ClassNotFoundException {
Class.forName("org.apache.hive.jdbc.HiveDriver");
Properties p = new Properties();
InputStream in = HiveUtil.class.getResourceAsStream("/conf.
原创
2021-11-22 16:58:31 ·
15328 阅读 ·
0 评论