You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by mm...@apache.org on 2019/09/24 19:10:05 UTC

[metron] branch master updated: METRON-2235 Increase server startup timeout (tigerquoll via mmiklavc) closes apache/metron#1496

This is an automated email from the ASF dual-hosted git repository.

mmiklavcic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a666d5  METRON-2235 Increase server startup timeout (tigerquoll via mmiklavc) closes apache/metron#1496
3a666d5 is described below

commit 3a666d5d8d6489882bcc32ded5f53bb5225c3ab1
Author: tigerquoll <ti...@outlook.com>
AuthorDate: Tue Sep 24 13:09:50 2019 -0600

    METRON-2235 Increase server startup timeout (tigerquoll via mmiklavc) closes apache/metron#1496
---
 metron-deployment/ansible/roles/ambari_master/tasks/ambari.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/metron-deployment/ansible/roles/ambari_master/tasks/ambari.yml b/metron-deployment/ansible/roles/ambari_master/tasks/ambari.yml
index ba55f30..0395f36 100644
--- a/metron-deployment/ansible/roles/ambari_master/tasks/ambari.yml
+++ b/metron-deployment/ansible/roles/ambari_master/tasks/ambari.yml
@@ -30,6 +30,12 @@
     replace: " -Xmx{{ ambari_server_mem }}m "
     backup: no
 
+- name: Allow 150 seconds of startup time for ambari server
+  lineinfile:
+    path: /etc/ambari-server/conf/ambari.properties
+    regexp: 'server\.startup\.web\.timeout='
+    line: 'server.startup.web.timeout=150'
+
 - name: Setup Ambari Server
   shell: ambari-server setup -s && touch /etc/ambari-server/configured creates=/etc/ambari-server/configured
   register: ambari_server_setup