Author: jdcryans
Date: Thu Sep 15 22:41:25 2011
New Revision: 1171305
URL: http://svn.apache.org/viewvc?rev=1171305&view=rev
Log:
HBASE-4390 [replication] ReplicationSource's UncaughtExceptionHandler
shouldn't join
Modified:
hbase/trunk/CHANGES.txt
hbase/trunk/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
Modified: hbase/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1171305&r1=1171304&r2=1171305&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Sep 15 22:41:25 2011
@@ -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)
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java?rev=1171305&r1=1171304&r2=1171305&view=diff
==============================================================================
---
hbase/trunk/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
(original)
+++
hbase/trunk/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
Thu Sep 15 22:41:25 2011
@@ -661,7 +661,8 @@ public class ReplicationSource extends T
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(