RE: Best way to add custom UDF jar in HiveServer2

2014-08-31 Thread Nirmal Kumar
Thanks a lot Jason. From: Jason Dere Sent: Friday, August 29, 2014 11:04 PM To: user@hive.apache.org Subject: Re: Best way to add custom UDF jar in HiveServer2 If you have a recent version of Hive (0.13+), you could try registering your UDF as a "permanent

Re: Best way to add custom UDF jar in HiveServer2

2014-08-29 Thread Jason Dere
Nirmal Kumar wrote: > Hi All, > > What is the best way to add custom UDF jar in HiveServer2. > > Currently I am adding it through Java JDBC code : > > Statement stmt = null; > ResultSet res = null; > Connection con = getHiveConnection(host, port, db); > try { >

Best way to add custom UDF jar in HiveServer2

2014-08-27 Thread Nirmal Kumar
Hi All, What is the best way to add custom UDF jar in HiveServer2. Currently I am adding it through Java JDBC code : Statement stmt = null; ResultSet res = null; Connection con = getHiveConnection(host, port, db); try { stmt = con.createStatement(); String[] args = new String[2