HBASE-793 HTable.getStartKeys() ignores table names when matching columns
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@682444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c86428312
commit
e30059125f
|
@ -222,6 +222,8 @@ Release 0.2.0
|
|||
HBASE-788 Div by zero in Master.jsp (Clint Morgan via Jim Kellerman)
|
||||
HBASE-791 RowCount doesn't work (Jean-Daniel Cryans via Stack)
|
||||
HBASE-751 dfs exception and regionserver stuck during heavy write load
|
||||
HBASE-793 HTable.getStartKeys() ignores table names when matching columns
|
||||
(Andrew Purtell and Dru Jensen via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-559 MR example job to count table rows
|
||||
|
|
|
@ -262,9 +262,10 @@ public class HTable {
|
|||
public boolean processRow(RowResult rowResult) throws IOException {
|
||||
HRegionInfo info = Writables.getHRegionInfo(
|
||||
rowResult.get(HConstants.COL_REGIONINFO));
|
||||
|
||||
if (!(info.isOffline() || info.isSplit())) {
|
||||
keyList.add(info.getStartKey());
|
||||
if (Bytes.equals(info.getTableDesc().getName(), getTableName())) {
|
||||
if (!(info.isOffline() || info.isSplit())) {
|
||||
keyList.add(info.getStartKey());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue