phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject [1/2] phoenix git commit: PHOENIX-2576 Mark scanner lease renewal threads as daemon threads
Date Thu, 07 Jan 2016 03:01:29 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.0 5779f263c -> fb74af1ef


PHOENIX-2576 Mark scanner lease renewal threads as daemon threads


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/3d36dba1
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/3d36dba1
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/3d36dba1

Branch: refs/heads/4.x-HBase-1.0
Commit: 3d36dba12de289a9f4e91e1aae1c8c6f12b33d1f
Parents: 5779f26
Author: Samarth <samarth.jain@salesforce.com>
Authored: Wed Jan 6 18:55:14 2016 -0800
Committer: Samarth <samarth.jain@salesforce.com>
Committed: Wed Jan 6 18:55:14 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/3d36dba1/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 0472d3a..ce60f28 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -2290,6 +2290,7 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices
implement
         @Override
         public Thread newThread(Runnable r) {
             Thread t = new Thread(r);
+            t.setDaemon(true);
             t.setName("Phoenix-Scanner-Renewlease-" + counter.getAndIncrement());
             return t;
         }


Mime
View raw message