HBASE-525 HTable.getRow(Text) does not work
-Fixed broken set initialization in HRegionServer git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@638150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37cf8a8cfb
commit
f8fc7bdd77
|
@ -44,6 +44,7 @@ Hbase Change Log
|
|||
startcode of -1 in .META.
|
||||
HBASE-516 HStoreFile.finalKey does not update the final key if it is not
|
||||
the top region of a split region
|
||||
HBASE-525 HTable.getRow(Text) does not work (Clint Morgan via Bryan Duxbury)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-415 Rewrite leases to use DelayedBlockingQueue instead of polling
|
||||
|
|
|
@ -965,8 +965,9 @@ public class HRegionServer implements HConstants, HRegionInterface, Runnable {
|
|||
requestCount.incrementAndGet();
|
||||
try {
|
||||
// convert the columns array into a set so it's easy to check later.
|
||||
Set<Text> columnSet = new HashSet<Text>();
|
||||
Set<Text> columnSet = null;
|
||||
if (columns != null) {
|
||||
columnSet = new HashSet<Text>();
|
||||
columnSet.addAll(Arrays.asList(columns));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue