Greg Hill created AMBARI-10571:
----------------------------------

             Summary: ambari-agent timing should be configurable
                 Key: AMBARI-10571
                 URL: https://issues.apache.org/jira/browse/AMBARI-10571
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-agent
            Reporter: Greg Hill


The ambari-agent has several different timing bits that determine how often it 
checks in with the ambari-server.  None of these appear to be configurable.  We 
should be able to override these settings in the ambari-agent.ini file:

1. Idle polling interval.  it's hard-coded to 10s: 
https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/NetUtil.py#L34
2. 'range' used to determine random retry interval when getting exceptions back 
from checkin. It's hardcoded to 30s: 
https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/Controller.py#L56
https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/Controller.py#L338





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to