[
https://issues.apache.org/jira/browse/HCATALOG-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482545#comment-13482545
]
Travis Crawford commented on HCATALOG-535:
------------------------------------------
Hey [~toffer], thanks for the info. Do you reinitialize the metastore DB before
each test run? The issue I see is not that MySQL vs. Derby is used as the
actual object store, but that managed tables are used, and "drop if exists"
type statements cause the test data to be deleted if the table already exists.
I work around this issue by deleting the derby storage dir before each run,
ensuring its reinitialized.
Does {{Pig_Complex_6}} pass for you? That's the only test that fails when I run
them, seemingly due to the {{exec}} statement in the query.
They take ~60 minutes when running locally in pseudo-distributed mode.
> HCatalog e2e tests should run locally with minimal configuration
> ----------------------------------------------------------------
>
> Key: HCATALOG-535
> URL: https://issues.apache.org/jira/browse/HCATALOG-535
> Project: HCatalog
> Issue Type: Improvement
> Reporter: Travis Crawford
> Assignee: Travis Crawford
>
> Setting up the environment to run e2e tests is documented here:
> https://cwiki.apache.org/confluence/display/HCATALOG/How+To+Test
> Its extremely time consuming to setup because there are so many moving parts.
> Some are very machine-specific, like configuring SSH and installing MySQL for
> your platform. However, some stuff we can automate for the developer, like
> downloading, installing & configuring all the Java stuff. We should do that
> to simplify.
> Also, tests do not run from a git repo because of the svn external. This
> would be very helpful to fix. Developing with Git is WAAAAAY nicer because
> branching is so easy.
--
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