Re: How to pass object between jobs

2011-01-26 Thread Chase Bradford
You can make you object implement o.a.h.io.Writable and use the SequenceFileOutputFormat and SequenceFileInputFormat in job 1 and 2 respectively. If something prevents you from implementing writable, but you can implement Serializable then you can add o.a.h.io.serialization.JavaSerialization to

Re: How to pass object between jobs

2011-01-25 Thread Joan
Hi harsh I want to create many pairs where v will be custom object so this will happen when my reduce's finished, so the output from job1 will be file with = Then In second job I want to get MyObject from first job, ¿you know? So now, I have: job1: job2; Then I have to convert Text obj

Re: How to pass object between jobs

2011-01-25 Thread Harsh J
Could you describe your need with an example? If you want the output of a Job (Job1), say being a single file with a single value in it, to be read and used as a scalar in the next Job (Job2), you can do it by reading and creating the object(s) manually from Job1's end, and then using it via a con

How to pass object between jobs

2011-01-25 Thread Joan
Hi, I would like pass one object from job1 to job2 Someone can I help me, please? Thanks Joan