HBASE-4390 [replication] ReplicationSource's UncaughtExceptionHandler

shouldn't join



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1171305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2011-09-15 22:41:25 +00:00
parent 419490d69b
commit ee4df4fba8
2 changed files with 4 additions and 1 deletions

View File

@ -268,6 +268,8 @@ Release 0.91.0 - Unreleased
to identify the region to unassign (Ramkrishna)
HBASE-4363 [replication] ReplicationSource won't close if failing
to contact the sink (JD and Lars Hofhansl)
HBASE-4390 [replication] ReplicationSource's UncaughtExceptionHandler
shouldn't join
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -661,7 +661,8 @@ public class ReplicationSource extends Thread
Thread.UncaughtExceptionHandler handler =
new Thread.UncaughtExceptionHandler() {
public void uncaughtException(final Thread t, final Throwable e) {
terminate("Uncaught exception during runtime", new Exception(e));
LOG.error("Unexpected exception in ReplicationSource," +
" currentPath=" + currentPath, e);
}
};
Threads.setDaemonThreadRunning(