hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r992131 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java
Date Thu, 02 Sep 2010 22:18:54 GMT
Author: stack
Date: Thu Sep  2 22:18:54 2010
New Revision: 992131

URL: http://svn.apache.org/viewvc?rev=992131&view=rev
Log:
HBASE-2943 major_compact (and other admin commands) broken for .META. -- Bug spotted by jgray
after commit

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java?rev=992131&r1=992130&r2=992131&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java Thu Sep  2 22:18:54
2010
@@ -304,7 +304,7 @@ public class MetaReader {
       List<HRegionInfo> list = new ArrayList<HRegionInfo>();
       list.add(HRegionInfo.ROOT_REGIONINFO);
       return list;
-    } else if (Bytes.equals(tableName, HConstants.ROOT_TABLE_NAME)) {
+    } else if (Bytes.equals(tableName, HConstants.META_TABLE_NAME)) {
       // Same for .META. table
       List<HRegionInfo> list = new ArrayList<HRegionInfo>();
       list.add(HRegionInfo.FIRST_META_REGIONINFO);
@@ -419,4 +419,4 @@ public class MetaReader {
       metaServer.close(scannerid);
     }
   }
-}
\ No newline at end of file
+}



Mime
View raw message