[
https://issues.apache.org/jira/browse/HIVE-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289061#comment-13289061
]
Travis Crawford commented on HIVE-3084:
---------------------------------------
This file always exists, for both tests that pass and fail, but looks different
based on the return status:
SUCCESSFUL JOB:
https://builds.apache.org/job/Hive-trunk-h0.21/1467/artifact/hive/build/ql/test/logs/clientnegative/script_broken_pipe1.q.out/*view*/
{code}
PREHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the
operator a small amount of data
SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
PREHOOK: type: QUERY
PREHOOK: Input: default@src
#### A masked pattern was here ####
Execution failed with exit status: 2
Obtaining error information
Task failed!
Task ID:
Stage-1
Logs:
#### A masked pattern was here ####
FAILED: Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.MapRedTask
{code}
FAILED JOB:
https://builds.apache.org/job/Hive-trunk-h0.21/1465/artifact/hive/build/ql/test/logs/clientnegative/script_broken_pipe1.q.out/*view*/
{code}
PREHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the
operator a small amount of data
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:/tmp/jenkins/hive_2012-06-03_14-10-42_578_7952591156793146133/-mr-10000
POSTHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the
operator a small amount of data
SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
POSTHOOK: type: QUERY
POSTHOOK: Input: default@src
POSTHOOK: Output:
file:/tmp/jenkins/hive_2012-06-03_14-10-42_578_7952591156793146133/-mr-10000
{code}
> Hive CI failing due to script_broken_pipe1.q
> --------------------------------------------
>
> Key: HIVE-3084
> URL: https://issues.apache.org/jira/browse/HIVE-3084
> Project: Hive
> Issue Type: Bug
> Reporter: Travis Crawford
>
> Hive's [CI job|https://builds.apache.org/job/Hive-trunk-h0.21/] regularly
> fails due to this test:
> {code}
> org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1
> {code}
> Running just that test in a loop I'm not able to reproduce the issue locally.
> This may be related to state from a previous test causing this one to fail?
> {code}
> ant clean package
> for x in $(seq 1 10);
> do ant test -Dtestcase=TestNegativeCliDriver -Dqfile=script_broken_pipe1.q;
> done
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira