[ https://issues.apache.org/jira/browse/HIVE-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navis updated HIVE-6201: ------------------------ Attachment: HIVE-6201.1.patch.txt > Print failed query for qfile tests > ---------------------------------- > > Key: HIVE-6201 > URL: https://issues.apache.org/jira/browse/HIVE-6201 > Project: Hive > Issue Type: Improvement > Components: Tests > Reporter: Navis > Assignee: Navis > Priority: Trivial > Attachments: HIVE-6201.1.patch.txt > > > Looking for the cause of notorious test failure of > 'infer_bucket_sort_bucketed_table', I've found I even cannot tell what query > caused that. > Now shows last query, which is failed(auto_join0.q, which I've replaced sum > to sums) > {noformat} > Running org.apache.hadoop.hive.cli.TestCliDriver > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.496 sec > <<< FAILURE! - in org.apache.hadoop.hive.cli.TestCliDriver > testCliDriver_auto_join0(org.apache.hadoop.hive.cli.TestCliDriver) Time > elapsed: 0.38 sec <<< FAILURE! > junit.framework.AssertionFailedError: Unexpected exception running > explain > select sums(hash(a.k1,a.v1,a.k2, a.v2)) > from ( > SELECT src1.key as k1, src1.value as v1, > src2.key as k2, src2.value as v2 FROM > (SELECT * FROM src WHERE src.key < 10) src1 > JOIN > (SELECT * FROM src WHERE src.key < 10) src2 > SORT BY k1, v1, k2, v2 > ) a > See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, > or check ./ql/target/surefire-reports or > ./itests/qtest/target/surefire-reports/ for specific test cases logs. > at junit.framework.Assert.fail(Assert.java:50) > at org.apache.hadoop.hive.ql.QTestUtil.failed(QTestUtil.java:1737) > at > org.apache.hadoop.hive.cli.TestCliDriver.runTest(TestCliDriver.java:143) > at > org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_join0(TestCliDriver.java:117) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)