Hi,All
I got the same error message described in [HIVE-1491] (
https://issues.apache.org/jira/browse/HIVE-1491) when ran script_pipe.q on
Open JDK.
Will hive plan to resolve this race condition?

Details:
=====================================
    [junit] Begin query: script_pipe.q
    [junit] Ended Job = job_local_0001 with errors
    [junit] Error during job, obtaining debugging information...
    [junit] Exception: Client Execution failed with error code = 9
    [junit] See build/ql/tmp/hive.log, or try "ant test ...
-Dtest.silent=false" to get more logs.
    [junit] junit.framework.AssertionFailedError: Client Execution failed
with error code = 9
    [junit] See build/ql/tmp/hive.log, or try "ant test ...
-Dtest.silent=false" to get more logs.
    [junit]     at junit.framework.Assert.fail(Assert.java:50)
    [junit]     at
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_script_pipe(TestCliDriver.java:27636)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    [junit]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:611)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:168)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:134)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at
junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:243)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:238)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)


I tried to re-produce it:
1. create table src with two columns: key and value
2. run the following queries:
SELECT TRANSFORM(key, value) USING 'head -n 1' FROM src;    // PASS
SELECT TRANSFORM(key, value) USING 'head -n 1' as a,b,c,d FROM src;
//PASS

SELECT TRANSFORM(key, value, key, value) USING 'head -n 1' FROM src;
//PASS
SELECT TRANSFORM(key, value, key, value) USING 'head -n 1' as a,b,c,d FROM
src;    //PASS

SELECT TRANSFORM(key, value, key, value, key, value) USING 'head -n 1' FROM
src;    //FAILED
SELECT TRANSFORM(key, value, key, value, key, value) USING 'head -n 1' as
a,b,c,d FROM src;    //FAILED


Thanks,
-- Bing

Reply via email to