Description
Now we support two version of build-in hive and there are some test generated meta data not in target dir like `spark-warehouse`, `metastore_db`, they don't cleanup automatically when we run `mvn clean` command.
So if we run `mvn clean test -pl sql/hive -am -Phadoop-2.7 -Phive -Phive-1.2 ` , the `metastore_db` dir will created and meta data will remains after test complete.
Then we need manual cleanup `metastore_db` directory to ensure `mvn clean test -pl sql/hive -am -Phadoop-2.7 -Phive` command can succeed because the residual metastore data is not compatible.
`spark-warehouse` will also cause test failure in some data residual scenarios too.