From 1add4cc5d257e3d58926047e9545cea05aeb4573 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Wed, 13 Jul 2011 08:33:42 +0000 Subject: [PATCH] HBASE-3904 info.getTableName() should be used to get table name git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145905 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java index 1da685b23a6..8c44fde3a2d 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java @@ -345,7 +345,7 @@ public class HBaseAdmin implements Abortable, Closeable { HRegionInfo info = Writables.getHRegionInfo( rowResult.getValue(HConstants.CATALOG_FAMILY, HConstants.REGIONINFO_QUALIFIER)); - if (!(Bytes.equals(info.getTableDesc().getName(), desc.getName()))) { + if (!(Bytes.equals(info.getTableName(), desc.getName()))) { return false; } String hostAndPort = null;