Index: src/test/org/apache/hcatalog/cli/TestPermsGrp.java =================================================================== --- src/test/org/apache/hcatalog/cli/TestPermsGrp.java (revision 1103888) +++ src/test/org/apache/hcatalog/cli/TestPermsGrp.java (working copy) @@ -61,7 +61,11 @@ @Override public void run() { - HiveMetaStore.main(new String[]{msPort}); + try { + HiveMetaStore.main(new String[]{msPort}); + } catch(Throwable t) { + System.err.println("Exiting. Got exception from metastore: " + t.getMessage()); + } } }