Hi, We've just open sourced a library that we have been using internally at Hotels.com for unit testing applications that use the Hive metastore service. It's called BeeJU and is a set of JUnit rules that spin up (and tear down) a Hive Metastore client using an in-memory database. If you write any code that connects to and manipulates the Hive Metastore you might find this project helpful.
The project and more info can be found here: https://github.com/HotelsDotCom/beeju Thanks, Patrick