Pass user configurations/arguments to UDF

2014-04-10 Thread Patcharee Thongtra
Hi, I implemented a custom load function. How to pass some user settings to this function? Any help is appreciated, Patcharee

Re: Pass user configurations/arguments to UDF

2014-04-10 Thread Abhishek Agarwal
You can get the job configuration in your UDF through this function. JobConf conf = UDFContext.getInstance().getJobConf(); Any job parameters that you pass in the job, should be available in conf. On Thu, Apr 10, 2014 at 12:02 PM, Patcharee Thongtra patcharee.thong...@uni.no wrote: Hi, I

Re: PigTest with pig.import.search.path

2014-04-10 Thread Jerry Lam
Hi Lorand, Thanks for giving me a hand. I just tried. It doesn't work. I'm using Pig 0.10.1 that might be the reason why... Regards, Jerry On Wed, Apr 9, 2014 at 3:32 PM, Lorand Bendig lben...@gmail.com wrote: what about setting it via: PigTest.getPigServer().getPigContext().getProperties(