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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

Looking at the agent, it logs the following:

    
    
    
    INFO 2016-09-16 15:52:29,659 Controller.py:277 - Heartbeat with server is 
running...
    INFO 2016-09-16 15:52:49,475 Heartbeat.py:90 - Adding host info/state to 
heartbeat message.
    INFO 2016-09-16 15:52:49,737 logger.py:71 - call[['test', '-w', '/']] 
{'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,746 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,747 logger.py:71 - call[['test', '-w', 
'/sys/fs/cgroup']] {'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,757 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,757 logger.py:71 - call[['test', '-w', '/dev']] 
{'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,766 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,767 logger.py:71 - call[['test', '-w', '/run']] 
{'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,776 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,776 logger.py:71 - call[['test', '-w', 
'/run/lock']] {'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,785 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,785 logger.py:71 - call[['test', '-w', 
'/run/shm']] {'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,794 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,794 logger.py:71 - call[['test', '-w', 
'/run/user']] {'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,802 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,803 logger.py:71 - call[['test', '-w', '/grid/0']] 
{'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,813 logger.py:71 - call returned (0, '')
    INFO 2016-09-16 15:52:49,813 logger.py:71 - call[['test', '-w', '/tmp']] 
{'sudo': True, 'timeout': 5}
    INFO 2016-09-16 15:52:49,826 logger.py:71 - call returned (0, '')
    

Can we

  * Add the heartbeat id to the log
  * Remove the logs about **call** or change them to DEBUG


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/Controller.py 7100656 
  ambari-agent/src/main/python/ambari_agent/Hardware.py 17acdf2 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to