You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/10/01 19:06:34 UTC
[jira] Created: (HIVE-1685) scriptfile1.1 in minimr faling
intermittently
scriptfile1.1 in minimr faling intermittently
---------------------------------------------
Key: HIVE-1685
URL: https://issues.apache.org/jira/browse/HIVE-1685
Project: Hadoop Hive
Issue Type: Bug
Components: Query Processor
Reporter: Namit Jain
Assignee: Joydeep Sen Sarma
[junit] Begin query: scriptfile1.q
[junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime -I Location -I transient_lastDdlTime -I last_modified_ -I java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I Caused by: -I [.][.][.] [0-9]* more /data/users/njain/hive_commit1/hive_commit1/build/ql/test/logs/clientpositive/scriptfile1.q.out /data/users/njain/hive_commit1/hive_commit1/ql/src/test/results/clientpositive/scriptfile1.q.out
[junit] 1c1
[junit] < PREHOOK: query: CREATE TABLE scriptfile1_dest1(key INT, value STRING)
[junit] ---
[junit] > PREHOOK: query: CREATE TABLE dest1(key INT, value STRING)
[junit] 3c3
[junit] < POSTHOOK: query: CREATE TABLE scriptfile1_dest1(key INT, value STRING)
[junit] ---
[junit] > POSTHOOK: query: CREATE TABLE dest1(key INT, value STRING)
[junit] 5c5
[junit] < POSTHOOK: Output: default@scriptfile1_dest1
[junit] ---
[junit] > POSTHOOK: Output: default@dest1
[junit] 12c12
[junit] < INSERT OVERWRITE TABLE scriptfile1_dest1 SELECT tmap.tkey, tmap.tvalue
[junit] ---
[junit] junit.framework.AssertionFailedError: Client execution results failed with error code = 1
[junit] > INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue
[junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
[junit] 15c15
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] < PREHOOK: Output: default@scriptfile1_dest1
[junit] at org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_scriptfile1(TestMinimrCliDriver.java:522)
[junit] ---
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] > PREHOOK: Output: default@dest1
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] 22c22
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] < INSERT OVERWRITE TABLE scriptfile1_dest1 SELECT tmap.tkey, tmap.tvalue
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] ---
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] > INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] 25,28c25,28
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] < POSTHOOK: Output: default@scriptfile1_dest1
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] < POSTHOOK: Lineage: scriptfile1_dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] < POSTHOOK: Lineage: scriptfile1_dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] < PREHOOK: query: SELECT scriptfile1_dest1.* FROM scriptfile1_dest1
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] ---
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
[junit] > POSTHOOK: Output: default@dest1
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
[junit] > POSTHOOK: Lineage: dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
[junit] > POSTHOOK: Lineage: dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] > PREHOOK: query: SELECT dest1.* FROM dest1
[junit] 30,32c30,32
[junit] < PREHOOK: Input: default@scriptfile1_dest1
[junit] < PREHOOK: Output: hdfs://localhost.localdomain:59220/data/users/njain/hive_commit1/hive_commit1/build/ql/scratchdir/hive_2010-09-30_01-24-37_987_7722845044472176538/-mr-10000
[junit] < POSTHOOK: query: SELECT scriptfile1_dest1.* FROM scriptfile1_dest1
[junit] ---
[junit] Exception: Client execution results failed with error code = 1
[junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
[junit] > PREHOOK: Input: default@dest1
[junit] > PREHOOK: Output: file:/data/users/athusoo/apache_workspaces/hive_trunk_ws1/.ptest_1/build/ql/scratchdir/hive_2010-04-05_18-28-41_094_5935665083865257548/10000
[junit] > POSTHOOK: query: SELECT dest1.* FROM dest1
[junit] 34,37c34,37
[junit] < POSTHOOK: Input: default@scriptfile1_dest1
[junit] < POSTHOOK: Output: hdfs://localhost.localdomain:59220/data/users/njain/hive_commit1/hive_commit1/build/ql/scratchdir/hive_2010-09-30_01-24-37_987_7722845044472176538/-mr-10000
[junit] < POSTHOOK: Lineage: scriptfile1_dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] < POSTHOOK: Lineage: scriptfile1_dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] ---
[junit] > POSTHOOK: Input: default@dest1
[junit] > POSTHOOK: Output: file:/data/users/athusoo/apache_workspaces/hive_trunk_ws1/.ptest_1/build/ql/scratchdir/hive_2010-04-05_18-28-41_094_5935665083865257548/10000
[junit] > POSTHOOK: Lineage: dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] > POSTHOOK: Lineage: dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
[junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.)
Also, is there a easy way to specify the tests to be run -- equivalent of
-Dqfile=...
for TestCliDriver
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HIVE-1685) scriptfile1.1 in minimr faling
intermittently
Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joydeep Sen Sarma resolved HIVE-1685.
-------------------------------------
Resolution: Duplicate
the test and the output are not in sync. it should fail everytime.
fixing as part of hive-1570 - it's a small change.
> scriptfile1.1 in minimr faling intermittently
> ---------------------------------------------
>
> Key: HIVE-1685
> URL: https://issues.apache.org/jira/browse/HIVE-1685
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Joydeep Sen Sarma
>
> [junit] Begin query: scriptfile1.q
> [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime -I Location -I transient_lastDdlTime -I last_modified_ -I java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I Caused by: -I [.][.][.] [0-9]* more /data/users/njain/hive_commit1/hive_commit1/build/ql/test/logs/clientpositive/scriptfile1.q.out /data/users/njain/hive_commit1/hive_commit1/ql/src/test/results/clientpositive/scriptfile1.q.out
> [junit] 1c1
> [junit] < PREHOOK: query: CREATE TABLE scriptfile1_dest1(key INT, value STRING)
> [junit] ---
> [junit] > PREHOOK: query: CREATE TABLE dest1(key INT, value STRING)
> [junit] 3c3
> [junit] < POSTHOOK: query: CREATE TABLE scriptfile1_dest1(key INT, value STRING)
> [junit] ---
> [junit] > POSTHOOK: query: CREATE TABLE dest1(key INT, value STRING)
> [junit] 5c5
> [junit] < POSTHOOK: Output: default@scriptfile1_dest1
> [junit] ---
> [junit] > POSTHOOK: Output: default@dest1
> [junit] 12c12
> [junit] < INSERT OVERWRITE TABLE scriptfile1_dest1 SELECT tmap.tkey, tmap.tvalue
> [junit] ---
> [junit] junit.framework.AssertionFailedError: Client execution results failed with error code = 1
> [junit] > INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue
> [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
> [junit] 15c15
> [junit] at junit.framework.Assert.fail(Assert.java:47)
> [junit] < PREHOOK: Output: default@scriptfile1_dest1
> [junit] at org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_scriptfile1(TestMinimrCliDriver.java:522)
> [junit] ---
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit] > PREHOOK: Output: default@dest1
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [junit] 22c22
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] < INSERT OVERWRITE TABLE scriptfile1_dest1 SELECT tmap.tkey, tmap.tvalue
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] ---
> [junit] at junit.framework.TestCase.runTest(TestCase.java:154)
> [junit] > INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue
> [junit] at junit.framework.TestCase.runBare(TestCase.java:127)
> [junit] 25,28c25,28
> [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
> [junit] < POSTHOOK: Output: default@scriptfile1_dest1
> [junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
> [junit] < POSTHOOK: Lineage: scriptfile1_dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] at junit.framework.TestResult.run(TestResult.java:109)
> [junit] at junit.framework.TestCase.run(TestCase.java:118)
> [junit] < POSTHOOK: Lineage: scriptfile1_dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
> [junit] < PREHOOK: query: SELECT scriptfile1_dest1.* FROM scriptfile1_dest1
> [junit] at junit.framework.TestSuite.run(TestSuite.java:203)
> [junit] ---
> [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
> [junit] > POSTHOOK: Output: default@dest1
> [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
> [junit] > POSTHOOK: Lineage: dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> [junit] > POSTHOOK: Lineage: dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] > PREHOOK: query: SELECT dest1.* FROM dest1
> [junit] 30,32c30,32
> [junit] < PREHOOK: Input: default@scriptfile1_dest1
> [junit] < PREHOOK: Output: hdfs://localhost.localdomain:59220/data/users/njain/hive_commit1/hive_commit1/build/ql/scratchdir/hive_2010-09-30_01-24-37_987_7722845044472176538/-mr-10000
> [junit] < POSTHOOK: query: SELECT scriptfile1_dest1.* FROM scriptfile1_dest1
> [junit] ---
> [junit] Exception: Client execution results failed with error code = 1
> [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
> [junit] > PREHOOK: Input: default@dest1
> [junit] > PREHOOK: Output: file:/data/users/athusoo/apache_workspaces/hive_trunk_ws1/.ptest_1/build/ql/scratchdir/hive_2010-04-05_18-28-41_094_5935665083865257548/10000
> [junit] > POSTHOOK: query: SELECT dest1.* FROM dest1
> [junit] 34,37c34,37
> [junit] < POSTHOOK: Input: default@scriptfile1_dest1
> [junit] < POSTHOOK: Output: hdfs://localhost.localdomain:59220/data/users/njain/hive_commit1/hive_commit1/build/ql/scratchdir/hive_2010-09-30_01-24-37_987_7722845044472176538/-mr-10000
> [junit] < POSTHOOK: Lineage: scriptfile1_dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] < POSTHOOK: Lineage: scriptfile1_dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] ---
> [junit] > POSTHOOK: Input: default@dest1
> [junit] > POSTHOOK: Output: file:/data/users/athusoo/apache_workspaces/hive_trunk_ws1/.ptest_1/build/ql/scratchdir/hive_2010-04-05_18-28-41_094_5935665083865257548/10000
> [junit] > POSTHOOK: Lineage: dest1.key SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] > POSTHOOK: Lineage: dest1.value SCRIPT [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
> [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.)
> Also, is there a easy way to specify the tests to be run -- equivalent of
> -Dqfile=...
> for TestCliDriver
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.