You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/12/18 11:51:45 UTC

Review Request 41543: Agent becomes unresposive after version incompatible Exception

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41543/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-14431
    https://issues.apache.org/jira/browse/AMBARI-14431


Repository: ambari


Description
-------

While testing with perf cluster found this bug:  
Agent did not register with server due to version incompatible error and then
did not recover from this state, although the server side was fixed.  
If agent is not retrying, it should quit

    
    
    
    ERROR 2015-12-10 23:04:35,184 Controller.py:165 - Cannot register host with non compatible agent version, hostname=perf-a-1.c.pramod-thangali.internal, agentVersion=2.2.0.0, serverVersion=2.1.3.0
    INFO 2015-12-10 23:04:35,184 Controller.py:392 - Registration response from perf-a-1.c.pramod-thangali.internal was FAILED
    ERROR 2015-12-10 23:04:35,185 main.py:315 - Fatal exception occurred:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in <module>
        main(heartbeat_stop_callback)
      File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 303, in main
        ExitHelper.execute_cleanup()
    TypeError: unbound method execute_cleanup() must be called with ExitHelper instance as first argument (got nothing instead)


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/main.py 731cbfc 

Diff: https://reviews.apache.org/r/41543/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 41543: Agent becomes unresposive after version incompatible Exception

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41543/#review111177
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Гру. 18, 2015, 10:51 до полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41543/
> -----------------------------------------------------------
> 
> (Updated Гру. 18, 2015, 10:51 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-14431
>     https://issues.apache.org/jira/browse/AMBARI-14431
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> While testing with perf cluster found this bug:  
> Agent did not register with server due to version incompatible error and then
> did not recover from this state, although the server side was fixed.  
> If agent is not retrying, it should quit
> 
>     
>     
>     
>     ERROR 2015-12-10 23:04:35,184 Controller.py:165 - Cannot register host with non compatible agent version, hostname=perf-a-1.c.pramod-thangali.internal, agentVersion=2.2.0.0, serverVersion=2.1.3.0
>     INFO 2015-12-10 23:04:35,184 Controller.py:392 - Registration response from perf-a-1.c.pramod-thangali.internal was FAILED
>     ERROR 2015-12-10 23:04:35,185 main.py:315 - Fatal exception occurred:
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in <module>
>         main(heartbeat_stop_callback)
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 303, in main
>         ExitHelper.execute_cleanup()
>     TypeError: unbound method execute_cleanup() must be called with ExitHelper instance as first argument (got nothing instead)
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/main.py 731cbfc 
> 
> Diff: https://reviews.apache.org/r/41543/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>