HBASE-6493. HashSet of byte array is being used in couple of places (Nick Dimiduk)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f66bbf1ca4
commit
f29ecf904d
|
@ -3348,7 +3348,7 @@ public class HRegionServer implements ClientProtocol,
|
|||
if (request.getFamilyCount() == 0) {
|
||||
columnFamilies = region.getStores().keySet();
|
||||
} else {
|
||||
columnFamilies = new HashSet<byte[]>();
|
||||
columnFamilies = new TreeSet<byte[]>(Bytes.BYTES_RAWCOMPARATOR);
|
||||
for (ByteString cf: request.getFamilyList()) {
|
||||
columnFamilies.add(cf.toByteArray());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue