Class HiveTestDataGenerator is responsible for initialization of hive metadata service and configuration of hive storage plugin for tested drillbit. Originally it was supposed to be initialized once before all tests in hive module, but actually it's initialized for every test class. And such initialization takes a lot of time, so it's worth to spend some time to accelerate hive tests.
This task has two main aims:
- Use HiveTestDataGenerator once for all test classes
- Provide flexible configuration of Hive tests that can be used with ClusterFixture for autonomic(not bounded to HiveTestBase) test classes