You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/09/18 19:13:58 UTC

[3/3] ambari git commit: AMBARI-13148. Ambari DB schema upgrade command hung on console even though schema upgrade is success (dlysnichenko)

AMBARI-13148. Ambari DB schema upgrade command hung on console even though schema upgrade is success (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: ad20650cdcb3415c5231228bceefa085c827a9cb
Parents: d35d520
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Fri Sep 18 20:08:33 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Fri Sep 18 20:12:58 2015 +0300

----------------------------------------------------------------------
 .../server/security/encryption/InMemoryCredentialStoreService.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ad20650c/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java b/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java
index 3766cbb..08d84fc 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java
@@ -74,6 +74,7 @@ public class InMemoryCredentialStoreService extends CredentialStoreServiceImpl {
             Thread t = Executors.defaultThreadFactory().newThread(runnable);
             if (t != null) {
               t.setName(String.format("%s active cleanup timer", InMemoryCredentialStoreService.class.getSimpleName()));
+              t.setDaemon(true);
             }
             return t;
           }