long logLength = TaskLog.getTaskLogLength(conf);
cmd = TaskLog.captureOutAndError(cmd, stdout, stderr, logLength);
process = runClient(cmd, env);
clientSocket = serverSocket.accept();
handler = new OutputHandler(output, reporter);
WritableComparable outputKey = (WritableComparable)
ReflectionUtils.newInstance(outputKeyClass, conf);
Writable outputValue = (Writable)
ReflectionUtils.newInstance(outputValueClass, conf);
downlink = new BinaryProtocol(clientSocket, handler,
outputKey, outputValue, conf);