RE: Python UDF Internal Error when Registering

2011-01-07 Thread deepak.n85
rg Subject: Re: Python UDF Internal Error when Registering Given that I'm not really sure what is going wrong, here is what I would stay to begin with (I don't know if you copy pasted directly or what so forgive me if I'm nitpicking something that isn't an actual issue): 1)

Re: Python UDF Internal Error when Registering

2011-01-07 Thread Jonathan Coveney
y); > > schema_records = FOREACH records GENERATE udf.split_into_words(input_line); > > DUMP schema_records; > > --- > > Here's the python udf: > > @outputSchema("x:{t:(field1:chararray, field1:chararray)}") > def split_into_words(input_line) >

RE: Python UDF Internal Error when Registering

2011-01-07 Thread deepak.n85
words[1]) --- Am I missing something here? -Original Message- From: Jonathan Coveney [mailto:[email protected]] Sent: Friday, January 07, 2011 10:03 PM To: [email protected] Subject: Re: Python UDF Internal Error when Registering You need to point exactly to jython.jar. so /p

Re: Python UDF Internal Error when Registering

2011-01-07 Thread Jonathan Coveney
apache.org > Subject: Re: Python UDF Internal Error when Registering > > Make sure that in the register, you use the absolute path. Also make sure > that both the jython.jar and udf asre in your classpath. A good test is to > do that, then try and register in local mode. If that works,

RE: Python UDF Internal Error when Registering

2011-01-07 Thread deepak.n85
[mailto:[email protected]] Sent: Friday, January 07, 2011 8:04 PM To: [email protected] Subject: Re: Python UDF Internal Error when Registering Make sure that in the register, you use the absolute path. Also make sure that both the jython.jar and udf asre in your classpath. A good test is to

Re: Python UDF Internal Error when Registering

2011-01-07 Thread Jonathan Coveney
Make sure that in the register, you use the absolute path. Also make sure that both the jython.jar and udf asre in your classpath. A good test is to do that, then try and register in local mode. If that works, then try on your cluster. Always making sure that your classpath has those details Se