Ver código fonte

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

Lisnichenko Dmitro 10 anos atrás
pai
commit
ad20650cdc

+ 1 - 0
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;
           }