[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-2670: ----------------------------- Attachment: hive_cluster_test_2.patch Here's a second version of the patch, with changes to run tests for HIVE-2616. They are included in cmdline.conf, and called HCat_sudo. To run these two new tests it works better if you set up a Hive server and point the test harness at it by adding: -Dharness.metastore.host=<hostname> -Dharness.metastore.port=<port> -Dharness.metastore.passwd=<passwd> -Dharness.metastore.thrift=1 You also need to define the user to sudo to, and your password to use to sudo. Add these on the command line as: -Dharness.sudo.to=<user_to_sudo_to> -Dharness.sudo.pass=<passwd> > 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 > Attachments: harness.tar, hive_cluster_test.patch, > hive_cluster_test_2.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira