[
https://issues.apache.org/jira/browse/HIVE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989794#comment-12989794
]
John Sichi commented on HIVE-1211:
----------------------------------
{noformat}
jsichi@dev1066 ~/open/test-trunk] diff
ql/src/test/results/clientnegative/script_broken_pipe1.q.out
build/ql/test/logs/clientnegative/script_broken_pipe1.q.out
--- ql/src/test/results/clientnegative/script_broken_pipe1.q.out
2011-02-01 14:38:26.000000000 -0800
+++ build/ql/test/logs/clientnegative/script_broken_pipe1.q.out 2011-02-02
12:51:48.000000000 -0800
@@ -2,5 +2,49 @@
SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1)
tmp
PREHOOK: type: QUERY
PREHOOK: Input: default@src
-PREHOOK: Output:
file:/data/users/pyang/trunk/VENDOR.hive/trunk/build/ql/tmp/1832401066/10000
+PREHOOK: Output:
file:/tmp/jsichi/hive_2011-02-02_12-51-44_968_8324119514806367066/-mr-10000
+java.io.IOException: Broken pipe
+ at java.io.FileOutputStream.writeBytes(Native Method)
+ at java.io.FileOutputStream.write(FileOutputStream.java:260)
+ at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
+ at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
+ at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
+ at java.io.DataOutputStream.flush(DataOutputStream.java:106)
+ at
org.apache.hadoop.hive.ql.exec.TextRecordWriter.close(TextRecordWriter.java:48)
+ at
org.apache.hadoop.hive.ql.exec.ScriptOperator.close(ScriptOperator.java:365)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at
org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:303)
+ at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:475)
+ at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:413)
+ at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:215)
+org.apache.hadoop.hive.ql.metadata.HiveException: Hit error while closing ..
+ at
org.apache.hadoop.hive.ql.exec.ScriptOperator.close(ScriptOperator.java:452)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at
org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:303)
+ at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:475)
+ at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:413)
+ at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:215)
+org.apache.hadoop.hive.ql.metadata.HiveException: Hit error while closing ..
+ at
org.apache.hadoop.hive.ql.exec.ScriptOperator.close(ScriptOperator.java:452)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at
org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:303)
+ at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:475)
+ at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:413)
+ at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:215)
+org.apache.hadoop.hive.ql.metadata.HiveException: Hit error while closing ..
+ at
org.apache.hadoop.hive.ql.exec.ScriptOperator.close(ScriptOperator.java:452)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:566)
+ at
org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:303)
+ at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:475)
+ at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:413)
+ at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:215)
+Ended Job = job_local_0001 with errors
FAILED: Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.MapRedTask
{noformat}
> Tapping logs from child processes
> ---------------------------------
>
> Key: HIVE-1211
> URL: https://issues.apache.org/jira/browse/HIVE-1211
> Project: Hive
> Issue Type: Improvement
> Components: Logging
> Reporter: bc Wong
> Assignee: Carl Steinbach
> Fix For: 0.7.0
>
> Attachments: HIVE-1211-2.patch, HIVE-1211.1.patch,
> HIVE-1211.3.patch.txt, HIVE-1211.4.patch.txt, HIVE-1211.5.patch.txt,
> HIVE-1211.6.patch.txt
>
>
> Stdout/stderr from child processes (e.g. {{MapRedTask}}) are redirected to
> the parent's stdout/stderr. There is little one can do to to sort out which
> log is from which query.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira