You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/07/23 23:10:10 UTC

svn commit: r679200 - in /hadoop/hbase/trunk: CHANGES.txt src/test/org/apache/hadoop/hbase/TestMasterAdmin.java

Author: stack
Date: Wed Jul 23 14:10:10 2008
New Revision: 679200

URL: http://svn.apache.org/viewvc?rev=679200&view=rev
Log:
HBASE-769 TestMasterAdmin fails throwing RegionOfflineException when we're expecting IllegalStateException

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/TestMasterAdmin.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=679200&r1=679199&r2=679200&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Jul 23 14:10:10 2008
@@ -212,6 +212,8 @@
    HBASE-764   The name of column request has padding zero using REST interface
                (Sishen Freecity via Stack)
    HBASE-750   NPE caused by StoreFileScanner.updateReaders
+   HBASE-769   TestMasterAdmin fails throwing RegionOfflineException when we're
+               expecting IllegalStateException
    
   IMPROVEMENTS
    HBASE-559   MR example job to count table rows

Modified: hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/TestMasterAdmin.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/TestMasterAdmin.java?rev=679200&r1=679199&r2=679200&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/TestMasterAdmin.java (original)
+++ hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/TestMasterAdmin.java Wed Jul 23 14:10:10 2008
@@ -67,12 +67,8 @@
     try {
       @SuppressWarnings("unused")
       HTable table = new HTable(conf, testDesc.getName());
-    } catch (IllegalStateException e) {
+    } catch (org.apache.hadoop.hbase.client.RegionOfflineException e) {
       // Expected
-      
-      // This exception is not actually thrown.  It doesn't look like it should
-      // throw since the connection manager is already filled w/ data
-      // -- noticed by St.Ack 09/09/2007
     }
 
     admin.addColumn(testDesc.getName(), new HColumnDescriptor("col2:"));