Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B02741732D for ; Fri, 17 Apr 2015 16:51:04 +0000 (UTC) Received: (qmail 7572 invoked by uid 500); 17 Apr 2015 16:50:59 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 7519 invoked by uid 500); 17 Apr 2015 16:50:59 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 7021 invoked by uid 99); 17 Apr 2015 16:50:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 16:50:59 +0000 Date: Fri, 17 Apr 2015 16:50:59 +0000 (UTC) From: "Greg Hill (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-10571) ambari-agent timing should be configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)