You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by chethan <ch...@gmail.com> on 2012/03/12 12:50:49 UTC

UDF for LOAD SimpleTextLoader without mapreduce.

Hi,

Can write UDF with overrides LOAD SimpleTextLoader without mapreduce, I am
bit confused with the use of mapreduce, because i am not able to get the
flow of the LOAD SimpleTextLoader when the command is invoked.

command: A = LOAD 'data' using myudf.SimpleTextLoader();

i want to now the step by step call of the functions that is called
internally.

Thanks & Regards
Chethan Prakash.

Re: UDF for LOAD SimpleTextLoader without mapreduce.

Posted by chethan <ch...@gmail.com>.
Hi,

I am using NetBeans IDE, can u pls give me step by step procedure to
debug. can we debug the default
org.apache.pig.backend.hadoop.hbase.HBaseStorage function which is
extending LOAD function.

On Fri, Mar 16, 2012 at 7:05 AM, Thejas Nair <th...@hortonworks.com> wrote:
>
> If you want to run it under a debugger, you can run it in local mode. java -cp pig.jar  org.apache.pig.Main -x local
>
> -Thejas
>
>
>
> On 3/12/12 4:50 AM, chethan wrote:
>>
>> Hi,
>>
>> Can write UDF with overrides LOAD SimpleTextLoader without mapreduce, I am
>> bit confused with the use of mapreduce, because i am not able to get the
>> flow of the LOAD SimpleTextLoader when the command is invoked.
>>
>> command: A = LOAD 'data' using myudf.SimpleTextLoader();
>>
>> i want to now the step by step call of the functions that is called
>> internally.
>>
>> Thanks&  Regards
>> Chethan Prakash.
>>
>

Re: UDF for LOAD SimpleTextLoader without mapreduce.

Posted by Thejas Nair <th...@hortonworks.com>.
If you want to run it under a debugger, you can run it in local mode. 
java -cp pig.jar  org.apache.pig.Main -x local

-Thejas


On 3/12/12 4:50 AM, chethan wrote:
> Hi,
>
> Can write UDF with overrides LOAD SimpleTextLoader without mapreduce, I am
> bit confused with the use of mapreduce, because i am not able to get the
> flow of the LOAD SimpleTextLoader when the command is invoked.
>
> command: A = LOAD 'data' using myudf.SimpleTextLoader();
>
> i want to now the step by step call of the functions that is called
> internally.
>
> Thanks&  Regards
> Chethan Prakash.
>