diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java index 4bc7568f9df8b1726fd5b17dd74e328544c150db..cbe8a793177ef2fdee3c86bf6cf68e379dc49522 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java @@ -352,6 +352,7 @@ public int executeInChildVM(DriverContext driverContext) { if (exitVal != 0) { LOG.error("Execution failed with exit status: " + exitVal); + LOG.error(errPrintStream.getOutput().toString()); if (SessionState.get() != null) { SessionState.get().addLocalMapRedErrors(getId(), errPrintStream.getOutput()); }