Commit 27518638 by 陶光胜

自助指标解密

parent 68173504
...@@ -48,7 +48,6 @@ public class HiveHelper implements ApplicationContextAware { ...@@ -48,7 +48,6 @@ public class HiveHelper implements ApplicationContextAware {
// Class.forName("org.apache.hive.jdbc.HiveDriver"); // Class.forName("org.apache.hive.jdbc.HiveDriver");
// conn = DriverManager.getConnection(url, "hadoop", ""); // conn = DriverManager.getConnection(url, "hadoop", "");
conn = source.getConnection(); conn = source.getConnection();
log.debug("getHiveConnection", conn.getClientInfo().getProperty("url"));
return conn; return conn;
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment