You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Gwenael Le Barzic (JIRA)" <ji...@apache.org> on 2014/03/03 15:37:21 UTC

[jira] [Resolved] (AMBARI-4908) Show Date-time in cluster logs

     [ https://issues.apache.org/jira/browse/AMBARI-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwenael Le Barzic resolved AMBARI-4908.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0

> 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
>             Fix For: 1.5.0
>
>
> 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)