[ 
https://issues.apache.org/jira/browse/AMBARI-18417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504189#comment-15504189
 ] 

Hudson commented on AMBARI-18417:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #55 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/55/])
AMBARI-18417. Improve agent logging to add more relevant message (aonishuk: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bf86017d8fde4f325559b70bbc37de57dfac9633])
* (edit) ambari-agent/src/main/python/ambari_agent/Controller.py
* (edit) ambari-agent/src/main/python/ambari_agent/Hardware.py


> Improve agent logging to add more relevant message
> --------------------------------------------------
>
>                 Key: AMBARI-18417
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18417
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18417.patch
>
>
> 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



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

Reply via email to