Hi All,
To count the row in table we are using the link out function.
we are using the basic transformer .
Job like:
Seqfile-------->Transformer-----------> seq file
In the Tranformer we are calling the Routine uning linkcount function.
can you please give me the idea how to call the same funtion using the user define stages like Buldops.
Thanks
Murari
User define stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 9
- Joined: Sun Aug 19, 2007 11:44 pm
User define stage
ramakrishna
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Need more information on why you are using buildOps and what you are planning to do.
As the routine is a 'server' component and a buildOp is a C++ library, you may need to initiate a server call from each instance which in turn may call the routine. This will be quite complicated to manage - especially for performance.
As the routine is a 'server' component and a buildOp is a C++ library, you may need to initiate a server call from each instance which in turn may call the routine. This will be quite complicated to manage - especially for performance.
-
- Participant
- Posts: 9
- Joined: Sun Aug 19, 2007 11:44 pm
because of i am using the server job or basice transformer .Sainath.Srinivasan wrote:Need more information on why you are using buildOps and what you are planning to do.
As the routine is a 'server' component and a buildOp is a C++ library, you may need to initiate a server call fr ...
I am planing to used the parallel job. so that i am palning to use buildops job
ramakrishna
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 9
- Joined: Sun Aug 19, 2007 11:44 pm
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 9
- Joined: Sun Aug 19, 2007 11:44 pm
Instated of writing the parallel routine, I am interested to write a build ops like user define stage. suppose i need to write a routine i need crete a object file and call that routine in transformer.Sainath.Srinivasan wrote:I am a bit lost with that answer.
Do you mean to say that you are "writing a buildOp" which is a code but not interested in "writing the routine in parallel" !? ...
eg:
Seq file -----> buildops stage------->seq fileer
seq file
columes:
jobname, stage name and link name
input
------
abc
xf
lk_xf
I need to calculate the link count of input file