[ https://issues.apache.org/jira/browse/HIVE-18372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318821#comment-16318821 ]
Alan Gates commented on HIVE-18372: ----------------------------------- Regarding the name ClusterMetaStore, that's fine. I wasn't trying to nitpick, I just didn't understand. Some comments in that class on the intent would be helpful. I really like the idea of being able to do cross version testing. We may want to add integration tests for these using the maven failsafe plugin (see commit b9526a7ac987b8a07b41531ab14e381bbda7f8ab where I used that tool for the tests with various database backends). bq. Do we plan to run the test methods parallel? "Plan" is too strong a word. As a side project I've made the standalone-metastore tests run in parallel using test.forkcount. To get this to work I had to change two things, one move derby into memory (that is, set the jdbc URL to jdbc:derby:memory:...) and two, write an in memory FileSystem implementation for HDFS (I plan on contributing this to Hadoop). I haven't tried the parallel tests outside of standalone-metastore yet. My hope is that if we can use maven parallelism effectively we may be able to greatly simply ptest and make it so that users with multi-core machines (or money to rent them) can run the tests in a few hours. It seems we're both doing a lot of work in test improvements. I propose we write a brief wiki page on what we're doing so that we can share ideas there and everyone else is aware of what we're doing. > Create testing infra to test different HMS instances > ---------------------------------------------------- > > Key: HIVE-18372 > URL: https://issues.apache.org/jira/browse/HIVE-18372 > Project: Hive > Issue Type: Sub-task > Reporter: Peter Vary > Assignee: Peter Vary > Attachments: HIVE-18372.2.patch, HIVE-18372.patch > > > Since there will be multiple tests, it would be good to have a good > infrastructure to help creating those faster, easier. > This patch will also include the test cases for the Database related methods > to showcase the infra -- This message was sent by Atlassian JIRA (v6.4.14#64029)