[ https://issues.apache.org/jira/browse/HIVE-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663831#action_12663831 ]
Ashish Thusoo commented on HIVE-189: ------------------------------------ On thinking more about this, I think we should change the test for input3_limit.q to make it deterministic. Instead of INSERT OVERWRITE TABLE T2 SELECT a.key, a.value from T1 a LIMIT 20; We should have INSERT OVERWRITE TABLE T2 SELECT * FROM (SELECT * FROM T1 DISTRIBUTE BY key SORT BY key, value) T LIMIT 20; SELECT * FROM T2 That would ensure that the rows that we get are top 20 rows. The order in which these files are processed are controlled by hadoop, so I don't think we have much control on whether kv1.txt gets processed first or kv2.txt. Thoughts? > Various TestCliDriver tests fail > -------------------------------- > > Key: HIVE-189 > URL: https://issues.apache.org/jira/browse/HIVE-189 > Project: Hadoop Hive > Issue Type: Bug > Components: Testing Infrastructure > Reporter: Johan Oskarsson > Assignee: Ashish Thusoo > Priority: Blocker > Fix For: 0.2.0 > > Attachments: patch-189.txt, > TEST-org.apache.hadoop.hive.cli.TestCliDriver.txt > > > On a fresh checkout of trunk a number of tests fail in > org.apache.hadoop.hive.cli.TestCliDriver: > testCliDriver_sample5 > testCliDriver_input3_limit > testCliDriver_udf5 > testCliDriver_sample3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.