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