Re: Custom MR scripts using java in Hive

2012-09-26 Thread Manish Bhoge
com] > *Sent:* Tuesday, September 25, 2012 6:48 PM > *To:* user@hive.apache.org > *Subject:* Re: Custom MR scripts using java in Hive > > ** ** > > Hi Manish, > > > > Thanks for your help.I did the same using UDF.Now trying with > Transform,Map and

Re: Custom MR scripts using java in Hive

2012-09-26 Thread Manu A
September 25, 2012 6:48 PM > *To:* user@hive.apache.org > *Subject:* Re: Custom MR scripts using java in Hive > > ** ** > > Hi Manish, > > > > Thanks for your help.I did the same using UDF.Now trying with > Transform,Map and Reduce clauses.so is it mean

RE: Custom MR scripts using java in Hive

2012-09-25 Thread Manish . Bhoge
reflection. That is something new for me. You can give a try to reflection. Thank You, Manish From: Tamil A [mailto:4tamil...@gmail.com] Sent: Tuesday, September 25, 2012 6:48 PM To: user@hive.apache.org Subject: Re: Custom MR scripts using java in Hive Hi Manish, Thanks for your help.I did the same

Re: Custom MR scripts using java in Hive

2012-09-25 Thread Bertrand Dechoux
For java, you can also consider reflection : http://hive.apache.org/docs/r0.9.0/udf/reflect.html Regards Bertrand On Tue, Sep 25, 2012 at 3:18 PM, Tamil A <4tamil...@gmail.com> wrote: > Hi Manish, > > Thanks for your help.I did the same using UDF.Now trying with > Transform,Map and Reduce claus

Re: Custom MR scripts using java in Hive

2012-09-25 Thread Manu A
Thanks Manish. ll try with the same. Thanks & Regards, Manu On Tue, Sep 25, 2012 at 5:19 PM, Manish.Bhoge wrote: > Manu, > > ** ** > > If you have written UDF in Java for Hive then you need to copy your JAR on > your Hadoop cluster in /usr/lib/hive/lib/ folder to hive to

Re: Custom MR scripts using java in Hive

2012-09-25 Thread Tamil A
Hi Manish, Thanks for your help.I did the same using UDF.Now trying with Transform,Map and Reduce clauses.so is it mean by using java we have to goahead through UDF and for other languages using MapReduce Scripts i.e., the Transform,Map and Reduce clauses. Please correct me if am wrong. Thanks

RE: Custom MR scripts using java in Hive

2012-09-25 Thread Manish . Bhoge
Manu, If you have written UDF in Java for Hive then you need to copy your JAR on your Hadoop cluster in /usr/lib/hive/lib/ folder to hive to use this JAR. Thank You, Manish From: Manu A [mailto:hadoophi...@gmail.com] Sent: Tuesday, September 25, 2012 3:44 PM To: user@hive.apache.org Subject: Cu