ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 40088: Ambari Agent cannot talk to server if "test -w" command hangs
Date Mon, 09 Nov 2015 16:46:46 GMT

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

On a cluster cluster, the "test -w" command was hanging, and this was causing
Ambari Agent to hang:  
<https://github.com/apache/ambari/blob/trunk/ambari-
agent/src/main/python/ambari_agent/Hardware.py#L102>

We need to make sure that we are properly setting a timeout for this command.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/Hardware.py 36b4f4b 
  ambari-agent/src/main/python/ambari_agent/main.py fb5b4b1 
  ambari-agent/src/test/python/ambari_agent/TestMain.py 8c8d347 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message