You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by momina khan <mo...@gmail.com> on 2008/03/02 21:09:49 UTC
how to spawn a new process for a map/reduce task
hi all,
can anyone plz explain why they have stopped using the Java class
ProcessBuilder for spawning a process for a map or reduce task in
class TaskRunner in favour of the alternative in hadoop 0.16.0.
just wondering!
regards
momina
Re: how to spawn a new process for a map/reduce task
Posted by Amar Kamat <am...@yahoo-inc.com>.
We have a wrapper around ProcessBuilder for running shell commands called
Shell (see o.a.h.u.Shell). The reason for this wrapper is better output and
error handling for shell commands. Almost all the needs are
addressed by this wrapper and it also provides a common and a consistent
way to run shell commands whenever needed.
Amar
On Mon, 3 Mar 2008, momina khan
wrote:
> hi all,
>
> can anyone plz explain why they have stopped using the Java class
> ProcessBuilder for spawning a process for a map or reduce task in
> class TaskRunner in favour of the alternative in hadoop 0.16.0.
>
> just wondering!
> regards
> momina
>