You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jeff Sposetti (JIRA)" <ji...@apache.org> on 2015/04/17 19:02:59 UTC

[jira] [Updated] (AMBARI-10571) ambari-agent timing should be configurable

     [ https://issues.apache.org/jira/browse/AMBARI-10571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Sposetti updated AMBARI-10571:
-----------------------------------
    Affects Version/s: 2.0.0

> 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
>    Affects Versions: 2.0.0
>            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)