Maybe I am wrong, but I thought HS/HS2 didn't process .hiverc? It looks like it's only referenced in CliDriver, but it's very possible HS/HS2 is actually using CliDriver. I just couldn't see in that a quick look.
On Thu, Sep 5, 2013 at 2:17 PM, Edward Capriolo <[email protected]>wrote: > Well if you putthe udf jar on your hiveserver. Then your hiverc will load > it. But I think the problem is getting the jar to the hive server. > > > On Thu, Sep 5, 2013 at 2:52 PM, Brock Noland <[email protected]> wrote: > > > Good point, I should have been more clear. > > > > There is no way to permanently add a function to Hive Server. You can > > however: > > > > add jar local/path/to.jar; > > create temporary function ..; > > > > As Edward says there maybe a way to put the jar in HDFS, but you'll still > > have to do create temp function.. > > > > > > On Thu, Sep 5, 2013 at 1:49 PM, Edward Capriolo <[email protected] > > >wrote: > > > > > I believe we have a not so well documented way to add a jar already on > > > hdfs, and the normal way is when the jar is local to the client. > > > > > > > > > On Thu, Sep 5, 2013 at 2:32 PM, Brock Noland <[email protected]> > wrote: > > > > > > > Hi, > > > > > > > > Unfortunately that is not supported at present. > > > > > > > > Brock > > > > > > > > > > > > On Thu, Sep 5, 2013 at 1:01 PM, Marcelo Beckmann < > > > > [email protected] > > > > > wrote: > > > > > > > > > Dear all, > > > > > > > > > > First of all, many thanks for the great job done by Hive team. > > > > > > > > > > I've developed a UDF function for Hive, and I'm facing some > problems > > to > > > > > deploy this one in a Hive Thrift server. > > > > > > > > > > I've tried to use a hiverc, and worked fine for local, but didn't > > work > > > > for > > > > > hive server. > > > > > > > > > > Is there another way to deploy the UDFs? > > > > > > > > > > > > > > > Thanks in advance, > > > > > > > > > > -- > > > > > Marcelo Beckmann > > > > > > > > > > > > > > > > > > > > > -- > > > > Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org > > > > > > > > > > > > > > > -- > > Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org > > > -- Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org
