HBASE-750 NPE caused by StoreFileScanner.updateReaders
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678898 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6591077efc
commit
80843cd04d
|
@ -377,7 +377,8 @@ implements ChangedReadersObserver {
|
|||
ViableRow viableRow = getNextViableRow();
|
||||
openReaders(viableRow.getRow());
|
||||
LOG.debug("Replaced Scanner Readers at row " +
|
||||
Bytes.toString(viableRow.getRow()));
|
||||
(viableRow == null || viableRow.getRow() == null? "null":
|
||||
Bytes.toString(viableRow.getRow())));
|
||||
} finally {
|
||||
this.lock.writeLock().unlock();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue