If I understand what you are asking you can use the -cacheArchive with the path to the jar to including the jar file in the classpath of your streaming job.

Dennis

Christian Søttrup wrote:
Hi all,

I have an application that i use to run with the "hadoop jar" command.
I have now written an optimized version of the mapper in C.
I have run this using the streaming library and everything looks ok (using num.reducers=0).

Now i want to use this mapper together with the combiner and reducer from my old .jar file. How do i do this? How can i distribute the jar and run the reducer and combiner from it?
While also running the c program as the mapper in streaming mode.

cheers,
Christian


Reply via email to