You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johnny Zhang (JIRA)" <ji...@apache.org> on 2012/12/10 22:25:22 UTC

[jira] [Updated] (HIVE-2670) A cluster test utility for Hive

     [ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated HIVE-2670:
-------------------------------

    Attachment: hive_cluster_test_3.patch

with this patch and my patch for HIVE-3715, I got a clean run unless 2 HCatlog related failures
{noformat}
exec Final results , PASSED: 107 FAILED: 2 SKIPPED: 0 ABORTED: 0 FAILED DEPENDENCY: 0
{noformat}

places different from this patch to 'hive_cluster_test_2.patch' :

(1) line 417, mysql loading file changed to "load data local infile"

(2) line 957 changed to where f > 48308 and f < 48309;" this is because using float in equal operator in MySQL is not a good way to retrieval results. 
More details in http://patrakov.blogspot.com/2010/08/floating-point-fields-in-mysql.html

(3) update all the sort command in "OrderBy" test cases, similar as PIG-2782

I am working on making rest 2 HCat_sudo test cases passing, will submit new patch soon.
                
> A cluster test utility for Hive
> -------------------------------
>
>                 Key: HIVE-2670
>                 URL: https://issues.apache.org/jira/browse/HIVE-2670
>             Project: Hive
>          Issue Type: New Feature
>          Components: Testing Infrastructure
>            Reporter: Alan Gates
>            Assignee: Johnny Zhang
>         Attachments: harness.tar, hive_cluster_test_2.patch, hive_cluster_test_3.patch, hive_cluster_test.patch
>
>
> Hive has an extensive set of unit tests, but it does not have an infrastructure for testing in a cluster environment.  Pig and HCatalog have been using a test harness for cluster testing for some time.  We have written Hive drivers and tests to run in this harness.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira