[
https://issues.apache.org/jira/browse/AMBARI-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918071#comment-13918071
]
Jeff Sposetti commented on AMBARI-4908:
---------------------------------------
Hi, This has gone under a lot of re-work for Ambari 1.5.0 , and includes what
you are looking for. This is the resulting output for 1.5.0.
{code}
stdout: /var/lib/ambari-agent/data/output-2.txt
2014-03-03 13:51:01,224 - Installing package unzip ('/usr/bin/yum -d 0 -e 0 -y
install unzip')
2014-03-03 13:51:02,130 - Package['net-snmp'] {}
2014-03-03 13:51:02,131 - Installing package net-snmp ('/usr/bin/yum -d 0 -e 0
-y install net-snmp')
2014-03-03 13:51:04,352 - Package['net-snmp-utils'] {}
2014-03-03 13:51:04,352 - Installing package net-snmp-utils ('/usr/bin/yum -d 0
-e 0 -y install net-snmp-utils')
2014-03-03 13:51:05,643 - Repository['HDP-2.1.1'] {'action': ['create'],
'mirror_list': None, 'base_url': 'http://...', 'repo_file_name': 'HDP'}
2014-03-03 13:51:05,648 - File['/etc/yum.repos.d/HDP.repo'] {'content':
InlineTemplate(...)}
2014-03-03 13:51:05,649 - Writing File['/etc/yum.repos.d/HDP.repo'] because it
doesn't exist
2014-03-03 13:51:05,650 - Package['hadoop-yarn'] {}
2014-03-03 13:51:05,650 - Installing package hadoop-yarn ('/usr/bin/yum -d 0 -e
0 -y install hadoop-yarn')
{code}
> Show Date-time in cluster logs
> ------------------------------
>
> Key: AMBARI-4908
> URL: https://issues.apache.org/jira/browse/AMBARI-4908
> Project: Ambari
> Issue Type: Improvement
> Components: site
> Affects Versions: 1.4.4
> Environment: CentOS 6.5
> Reporter: Gwenael Le Barzic
> Priority: Minor
>
> Hello !
> In the Ambari user interface, at the top of the screen, when you click on
> your cluster name, you can see the last operations on this cluster, mainly
> stop and start of components.
> By navigating from left to right, you can have more and more detail
> information about these operations, with, one the far right, the logs of
> specific operations.
> Is it possible to add in the logs accessible from this window the date-time
> at the beginning of the line ?
> Here is an example of these logs :
> #################################################
> stderr:
> none
> none
> stdout:
> notice: Finished catalog run in 0.29 seconds
> notice:
> /Stage[main]/Hdp-hadoop/Hdp-hadoop::Update-log4j-properties[log4j.properties]/Hdp-hadoop::Update-log4j-property[valueorg.postgresql.Drivernameambari.jobhistory.driver]/Hdp::Exec[sed
> -i
> 's~\(###\)\?ambari.jobhistory.driver=.*~###ambari.jobhistory.driver=org.postgresql.Driver~'
> /etc/hadoop/conf/log4j.properties]/Exec[sed -i
> 's~\(###\)\?ambari.jobhistory.driver=.*~###ambari.jobhistory.driver=org.postgresql.Driver~'
> /etc/hadoop/conf/log4j.properties]/returns: executed successfully
> (...)
> notice:
> /Stage[2]/Hdp-hadoop::Datanode/Hdp-hadoop::Service[datanode]/Hdp::Exec[su -
> hdfs -c 'export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec &&
> /usr/lib/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start
> datanode']/Exec[su - hdfs -c 'export
> HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec &&
> /usr/lib/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start
> datanode']/returns: executed successfully
> notice: Finished catalog run in 8.67 seconds
> ####################################################
> Best regards.
> Gwenael Le Barzic
--
This message was sent by Atlassian JIRA
(v6.2#6252)