Re: How to add jar to Hive "globally"?

2010-11-11 Thread bryan xu
Thanks for all the suggestions Right now we have a all_new.jar configuration in hive-site.xml: hive.aux.jars.path file:///${HIVE_HOME/auxlib/all_new.jar while adding a newjar to Hive,we manually update all_new.jar file like: all_new.jar += newjar.jar so the all_new.jar is keeping all new add

Re: How to add jar to Hive "globally"?

2010-11-11 Thread Marcello de Sales
I like the approach to have the properties in the hive-site.xml, as I have it under version control... Thanks for the suggestions... Marcello de Sales On Thu, Nov 11, 2010 at 8:45 PM, Edward Capriolo wrote: > On Thu, Nov 11, 2010 at 11:42 PM, Shrijeet Paliwal > wrote: > > One other alternative,

Re: How to add jar to Hive "globally"?

2010-11-11 Thread Edward Capriolo
On Thu, Nov 11, 2010 at 11:42 PM, Shrijeet Paliwal wrote: > One other alternative, > > Add following property to your hive-site.xml > > > hive.aux.jars.path > file:///home/me/my.jar,file:///home/you/your.jar,file:///home/us/our.jar > > > > On Thu, Nov 11, 2010 at 8:05 PM, Edward Capriolo > wro

Re: How to add jar to Hive "globally"?

2010-11-11 Thread Shrijeet Paliwal
One other alternative, Add following property to your hive-site.xml hive.aux.jars.path file:///home/me/my.jar,file:///home/you/your.jar,file:///home/us/our.jar On Thu, Nov 11, 2010 at 8:05 PM, Edward Capriolo wrote: > On Thu, Nov 11, 2010 at 10:57 PM, bryan xu wrote: >> Dear all, >>      I

Re: How to add jar to Hive "globally"?

2010-11-11 Thread Edward Capriolo
On Thu, Nov 11, 2010 at 10:57 PM, bryan xu wrote: > Dear all, >      I would like to add jar to Hive  in one session, and make this jar > "global" available to other New sessions. It seems "add jar filename.jar" > only preHook on current thread. >    Any help or pointers on how to solve this? > >

How to add jar to Hive "globally"?

2010-11-11 Thread bryan xu
Dear all, I would like to add jar to Hive in one session, and make this jar "global" available to other New sessions. It seems "add jar filename.jar" only preHook on current thread. Any help or pointers on how to solve this? Thanks bryan

UDTF arguments limited to 10?

2010-11-11 Thread Tim Robertson
Is there a maximum limit of 10 fields in a UDTF? The following is always giving issues: public void process(Object[] args) throws HiveException { ... ((LazyInteger) args[10]).getWritableObject().get(); I am trying to do: create table density_cluster_ungrouped as select taxonDensityUDTF(king