Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7849

Ambari Agent Heartbeat fails due to missing createAlerts definition in HostInfo_win.py

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Invalid
    • branch-windows-dev
    • branch-windows-dev
    • ambari-agent
    • None
    • Windows

    Description

      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)

      Attachments

        Activity

          People

            fbarca Florian Barca
            jluniya Jayush Luniya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified