public void cleanWarehouseDirs() throws MetaException {
    warehouse.deleteDir(getWarehouseRoot(), true, true, false);
    warehouse.deleteDir(getExternalWarehouseRoot(), true, true, false);
    warehouse.deleteDir(trashDir, true, true, false);
  }
Cleans the warehouse and the thrash dirs in preparation for the tests.

@throws MetaException IO failure
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/minihms/AbstractMetaStoreService.java