HBASE-13978: Variable never assigned in SimpleTotalOrderPartitioner.getPartition()
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
71cd637fee
commit
0455e54c1d
|
@ -106,6 +106,7 @@ implements Configurable {
|
|||
for (int i = 0; i < splits.length; i++) {
|
||||
LOG.info(Bytes.toStringBinary(splits[i]));
|
||||
}
|
||||
this.lastReduces = reduces;
|
||||
}
|
||||
int pos = Bytes.binarySearch(this.splits, key.get(), key.getOffset(),
|
||||
key.getLength(), Bytes.BYTES_RAWCOMPARATOR);
|
||||
|
@ -138,5 +139,7 @@ implements Configurable {
|
|||
}
|
||||
LOG.info("startkey=" + Bytes.toStringBinary(startkey) +
|
||||
", endkey=" + Bytes.toStringBinary(endkey));
|
||||
// Reset last reduces count on change of Start / End key
|
||||
this.lastReduces = -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue