HBASE-7088 Duplicate code in RowCounter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1552155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9101bce0dc
commit
c2315c8304
|
@ -122,7 +122,6 @@ public class RowCounter {
|
||||||
if (endKey != null && !endKey.equals("")) {
|
if (endKey != null && !endKey.equals("")) {
|
||||||
scan.setStopRow(Bytes.toBytes(endKey));
|
scan.setStopRow(Bytes.toBytes(endKey));
|
||||||
}
|
}
|
||||||
scan.setFilter(new FirstKeyOnlyFilter());
|
|
||||||
if (sb.length() > 0) {
|
if (sb.length() > 0) {
|
||||||
for (String columnName : sb.toString().trim().split(" ")) {
|
for (String columnName : sb.toString().trim().split(" ")) {
|
||||||
String [] fields = columnName.split(":");
|
String [] fields = columnName.split(":");
|
||||||
|
|
Loading…
Reference in New Issue