hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1154067 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
Date Fri, 05 Aug 2011 01:44:15 GMT
Author: apurtell
Date: Fri Aug  5 01:44:15 2011
New Revision: 1154067

URL: http://svn.apache.org/viewvc?rev=1154067&view=rev
Log:
HBASE-4159  HBaseServer - IPC Reader threads are not daemons

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1154067&r1=1154066&r2=1154067&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Fri Aug  5 01:44:15 2011
@@ -187,6 +187,8 @@ Release 0.91.0 - Unreleased
    HBASE-3857  Fix TestHFileBlock.testBlockHeapSize test failure (Mikhail)
    HBASE-4150  Don't enforce pool size limit with ThreadLocalPool
                (Karthick Sankarachary via garyh)
+   HBASE-4159  HBaseServer - IPC Reader threads are not daemons (Douglas
+               Campbell)
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java?rev=1154067&r1=1154066&r2=1154067&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java Fri Aug  5 01:44:15
2011
@@ -400,7 +400,7 @@ public abstract class HBaseServer implem
       readers = new Reader[readThreads];
       readPool = Executors.newFixedThreadPool(readThreads,
         new ThreadFactoryBuilder().setNameFormat(
-          "IPC Reader %d on port " + port).build());
+          "IPC Reader %d on port " + port).setDaemon(true).build());
       for (int i = 0; i < readThreads; ++i) {
         Selector readSelector = Selector.open();
         Reader reader = new Reader(readSelector);



Mime
View raw message