hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2670) A cluster test utility for Hive
Date Fri, 25 Jan 2013 19:31:13 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562937#comment-13562937
] 

Johnny Zhang commented on HIVE-2670:
------------------------------------

sorry for multiple comments, 'hive_cluster_test_4.patch' also Connect the top level build.xml
to the build.xml in e2e dir.

So, right now the step to run this patch is
(1) checkout Hive trunk, apply patch
(2) download harness.tar to e2e dir
(3) build Hive by 'ant clean package', copy build/dist/lib/*.jar to lib dir
(4) run the e2e/scripts/create_test_db.sql in MySQL
(5) run 'ant -Dharness.hadoop.home=<path_to_hadoop_home> -Dharness.hive.home=<path_to_hive_you_want_to_test>
test-e2e-deploy' in Hive top level dir
(6) run 'ant -Dharness.hadoop.home=<path_to_hadoop_home> -Dharness.hive.home=<path_to_hive_you_want_to_test>
test-e2e-test' in Hive top level dir
                
> 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_4.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

Mime
View raw message