hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1516044 - /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Date Wed, 21 Aug 2013 00:42:32 GMT
Author: stack
Date: Wed Aug 21 00:42:32 2013
New Revision: 1516044

URL: http://svn.apache.org/r1516044
Log:
HBASE-9276 List tables API should filter with isSystemTable

Modified:
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java?rev=1516044&r1=1516043&r2=1516044&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Wed Aug 21 00:42:32 2013
@@ -2642,7 +2642,7 @@ MasterServices, Server {
       Collection<HTableDescriptor> descriptors = this.tableDescriptors.getAll().values();
       GetTableNamesResponse.Builder builder = GetTableNamesResponse.newBuilder();
       for (HTableDescriptor descriptor: descriptors) {
-        if (descriptor.isMetaTable()) {
+        if (descriptor.getTableName().isSystemTable()) {
           continue;
         }
         builder.addTableNames(ProtobufUtil.toProtoTableName(descriptor.getTableName()));



Mime
View raw message