Author: hashutosh
Date: Mon May 16 23:19:50 2011
New Revision: 1103950

URL: http://svn.apache.org/viewvc?rev=1103950&view=rev
Log:
HCATALOG-28: Trunk test not compiling: Upstream Hive change broke TestPermsGrp

Modified:
    incubator/hcatalog/trunk/src/test/org/apache/hcatalog/cli/TestPermsGrp.java

Modified: 
incubator/hcatalog/trunk/src/test/org/apache/hcatalog/cli/TestPermsGrp.java
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/test/org/apache/hcatalog/cli/TestPermsGrp.java?rev=1103950&r1=1103949&r2=1103950&view=diff
==============================================================================
--- incubator/hcatalog/trunk/src/test/org/apache/hcatalog/cli/TestPermsGrp.java 
(original)
+++ incubator/hcatalog/trunk/src/test/org/apache/hcatalog/cli/TestPermsGrp.java 
Mon May 16 23:19:50 2011
@@ -61,7 +61,11 @@ public class TestPermsGrp extends TestCa
 
     @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()); 
+      }
     }
 
   }


Reply via email to