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:57 UTC
[2/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/25bfc936
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/25bfc936
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/25bfc936
Branch: refs/heads/branch-2.1
Commit: 25bfc9360a6338816efe6e71fd844a0dba4da3f0
Parents: 5cdbecc
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:36 2015 +0300
----------------------------------------------------------------------
.../server/security/encryption/InMemoryCredentialStoreService.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/25bfc936/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;
}