Skip to content

Commit 8b716e0

Browse files
authored
Merge pull request #57 from pndaproject/PNDA-4056
Make environment sync thread a daemon thread
2 parents 871817c + fe2e0d0 commit 8b716e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/main/resources/deployer_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def monitor_hadoop_env(env, config):
9090
def fill_hadoop_env(env, config):
9191
update_hadoop_env(env)
9292
env_monitor_thread = Thread(target=monitor_hadoop_env, args=[env, config])
93+
env_monitor_thread.daemon = True
9394
env_monitor_thread.start()
9495

9596
def ambari_request(ambari, uri):

0 commit comments

Comments
 (0)