HBASE-1946 Unhandled exception at regionserver (Dmitriy Lyfar via Stack)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@831395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-10-30 17:25:34 +00:00
parent 535651ce1d
commit 502cfe7b5d
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,8 @@ Release 0.21.0 - Unreleased
HBASE-1925 IllegalAccessError: Has not been initialized (getMaxSequenceId)
HBASE-1929 If hbase-default.xml is not in CP, zk session timeout is 10 secs!
HBASE-1927 Scanners not closed properly in certain circumstances
HBASE-1934 NullPointerException in ClientScanner (Daniel Ploeg via Stack)
HBASE-1934 NullPointerException in ClientScanner (Andrew Purtell via Stack)
HBASE-1946 Unhandled exception at regionserver (Dmitriy Lyfar via Stack)
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -439,7 +439,7 @@ public class HRegionServer implements HConstants, HRegionInterface,
// Send messages to the master IF this.msgInterval has elapsed OR if
// we have something to tell (and we didn't just fail sending master).
if ((now - lastMsg) >= msgInterval ||
(outboundArray.length == 0 && !this.outboundMsgs.isEmpty())) {
((outboundArray == null || outboundArray.length == 0) && !this.outboundMsgs.isEmpty())) {
try {
doMetrics();
MemoryUsage memory =