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
This commit is contained in:
parent
148627fe9c
commit
1add4cc5d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue