HBASE-2419 Remove from RS logs the fat NotServingRegionException stack
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@931698 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c5eec3968
commit
8b9247cdca
|
@ -485,6 +485,7 @@ Release 0.21.0 - Unreleased
|
|||
holds up all flushing
|
||||
HBASE-2252 Mapping a very big table kills region servers
|
||||
HBASE-2412 [stargate] PerformanceEvaluation
|
||||
HBASE-2419 Remove from RS logs the fat NotServingRegionException stack
|
||||
|
||||
NEW FEATURES
|
||||
HBASE-1961 HBase EC2 scripts
|
||||
|
|
|
@ -1661,7 +1661,7 @@ public class HRegion implements HConstants, HeapSize { // , Writable{
|
|||
splitsAndClosesLock.readLock().lock();
|
||||
try {
|
||||
if (this.closed.get()) {
|
||||
throw new NotServingRegionException("Region " + this + " closed");
|
||||
throw new NotServingRegionException(this + " is closed");
|
||||
}
|
||||
synchronized (lockedRows) {
|
||||
while (lockedRows.contains(row)) {
|
||||
|
|
|
@ -1416,7 +1416,7 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
+ e.msg.toString());
|
||||
}
|
||||
} catch (InterruptedException ex) {
|
||||
// continue
|
||||
LOG.warn("Processing Worker queue", ex);
|
||||
} catch (Exception ex) {
|
||||
if (ex instanceof IOException) {
|
||||
ex = RemoteExceptionHandler.checkIOException((IOException) ex);
|
||||
|
@ -1714,7 +1714,8 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
LOG.debug("Batch puts: " + i, ex);
|
||||
return i;
|
||||
} catch (NotServingRegionException ex) {
|
||||
LOG.debug("Batch puts: " + i, ex);
|
||||
LOG.debug("Batch puts interrupted at index=" + i + " because:" +
|
||||
ex.getMessage());
|
||||
return i;
|
||||
} catch (Throwable t) {
|
||||
throw convertThrowableToIOE(cleanup(t));
|
||||
|
@ -2427,5 +2428,4 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
|
||||
return resp;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue