ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject [3/3] ambari git commit: AMBARI-13148. Ambari DB schema upgrade command hung on console even though schema upgrade is success (dlysnichenko)
Date Fri, 18 Sep 2015 17:13:58 GMT
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 <dlysnichenko@hortonworks.com>
Authored: Fri Sep 18 20:08:33 2015 +0300
Committer: Lisnichenko Dmitro <dlysnichenko@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;
           }


Mime
View raw message