2011-08-01 74 views

回答

0

添加蜂巢UDF罐子從J​​ava代碼是最簡單的方法,

Connection con = DriverManager.getConnection(connectionUrl, "", ""); 
Statement stmt = con.createStatement(); 
stmt.executeQuery("add jar /user/jars/HiveUdf.jar");