You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Florian Barca (JIRA)" <ji...@apache.org> on 2015/01/06 04:45:34 UTC

[jira] [Resolved] (AMBARI-7849) Ambari Agent Heartbeat fails due to missing createAlerts definition in HostInfo_win.py

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

Florian Barca resolved AMBARI-7849.
-----------------------------------
    Resolution: Invalid

Alerts are no longer a required item in the heartbeat definition.

> Ambari Agent Heartbeat fails due to missing createAlerts definition in HostInfo_win.py
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7849
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7849
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent
>    Affects Versions: branch-windows-dev
>         Environment: Windows
>            Reporter: Jayush Luniya
>            Assignee: Florian Barca
>            Priority: Blocker
>             Fix For: branch-windows-dev
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Ambari Agent doesn't start on branch-windows-dev after merging latest trunk changes. This is because createAlerts is not defined in HostInfo_win.py. This bug is to implement createAlerts for Windows. 
> WARNING 2014-10-13 16:33:39,075 shell.py:88 - user argument ignored on windows
> ERROR 2014-10-13 16:33:39,648 Controller.py:317 - Connection to winamb-dev.windows.apache.ambari.org was lost (details=HostInfo instance has no attribute 'createAlerts')
> ERROR 2014-10-13 16:34:05,453 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=1, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:34:20,454 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=2, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:34:53,457 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=3, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:35:28,457 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=4, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:36:07,460 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=5, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:36:24,461 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=6, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:37:02,463 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=7, details=local variable 'data' referenced before assignment)
> ERROR 2014-10-13 16:37:30,464 Controller.py:317 - Unable to reconnect to https://winamb-dev.windows.apache.ambari.org:8441/agent/v1/heartbeat/winamb-dev.windows.apache.ambari.org (attempts=8, details=local variable 'data' referenced before assignment)



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