Re: pig editot issue in hue!!

2013-09-20 Thread Suhas Satish
your oozie installation comes with sharelib*.tar.gz . Untar this and put the folder on HDFS and configure hue.ini oozie path with this. It should work. Cheers, Suhas. On Wed, Sep 11, 2013 at 11:31 PM, ajay kumar ajaysanagap...@gmail.comwrote: i checked oozie set up also..It is fine i did not

ISOToUNix working in Pig 0.8.1 but not in Pig 0.11.0

2013-09-20 Thread Muni mahesh
Hi Hadoopers, I did the same thing in Pig 0.8.1 but not Pig 0.11.0 register /usr/lib/pig/piggybank.jar; register /usr/lib/pig/lib/joda-time-2.1.jar; DEFINE CustomFormatToISO org.apache.pig.piggybank.evaluation.datetime.convert.CustomFormatToISO(); DEFINE ISOToUnix

Re: ISOToUNix working in Pig 0.8.1 but not in Pig 0.11.0

2013-09-20 Thread Ruslan Al-Fakikh
What was the error? Not an issue, but why do you call the columns dt1, dt2, but not using the name, using the ordinal number insted: $0? On Fri, Sep 20, 2013 at 6:00 PM, Muni mahesh mahesh87.had...@gmail.comwrote: Hi Hadoopers, I did the same thing in Pig 0.8.1 but not Pig 0.11.0 register

Re: ISOToUNix working in Pig 0.8.1 but not in Pig 0.11.0

2013-09-20 Thread Pradeep Gollakota
Be careful with your format definition... it looks like you might have a typo. I believe -MM-dd hh:mm:ss is the correct format. http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html On Fri, Sep 20, 2013 at 8:26 AM, Ruslan Al-Fakikh metarus...@gmail.comwrote:

Re: ISOToUNix working in Pig 0.8.1 but not in Pig 0.11.0

2013-09-20 Thread Pradeep Gollakota
Doh! I think I made a mistake myself... -MM-dd HH:mm:ss Since you don't have AM/PM, I'm assuming that your time is 24-hr format. So, you need to use the 24 hour format symbol of 'H' for hour instead of 'h'. I really hate time. On Fri, Sep 20, 2013 at 6:25 PM, Pradeep Gollakota