Java provides the Process class to help you launch and read/write
from/to processes:
http://docs.oracle.com/javase/6/docs/api/java/lang/Process.html. You
can use this to spawn your program from your code, to write input into
the process's stdin, and to read its output via its stdout/etc.. The
Is it possible to run a python script inside a Map function which is in
java?
I what to to run a python script which is on my local disk and I want to
use the output of that script for further processing in Map Function to
produce key/Value Pairs.
Can some give me some idea how to do it.