[ 
https://issues.apache.org/jira/browse/HIVE-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288957#comment-13288957
 ] 

Travis Crawford commented on HIVE-3084:
---------------------------------------

Here's the query that's failing. It hasn't been touched since 2009 so likely 
the change happened elsewhere.

{code}
$ cat ql/src/test/queries/clientnegative/script_broken_pipe1.q
set hive.exec.script.allow.partial.consumption = false;
-- 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;
{code}

The logs are a little difficult to read since other tests throw errors too, but 
I think this is the actual error. The line number doesn't make sense though 
because looking at that class it has many fewer lines.

{code}
junit.framework.AssertionFailedError: Client Execution failed with error code = 0
See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get 
more logs.
        at junit.framework.Assert.fail(Assert.java:50)
        at 
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1(TestNegativeCliDriver.java:10737)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
        at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
        at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906){code}
{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

        

Reply via email to