[
https://issues.apache.org/jira/browse/AMBARI-15881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247688#comment-15247688
]
Olivér Szabó commented on AMBARI-15881:
---------------------------------------
committed to trunk:
{code:java}
commit 1d4effce606a0ec434032cb2ae56211ab7b86cfa
Author: Miklos Gergely <[email protected]>
Date: Tue Apr 19 14:50:33 2016 +0200
AMBARI-15881. Primary log in component info (Miklos Gergely via oleewere)
{code}
> Mark primary log of the component
> ---------------------------------
>
> Key: AMBARI-15881
> URL: https://issues.apache.org/jira/browse/AMBARI-15881
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Minor
>
> Mark at most one log of a component as primary.
> In the metainfo.xml file the log will have a primary element in it with true
> value.
> Example:
> {code}
> <component>
> <name>NAMENODE</name>
> <displayName>NameNode</displayName>
> <category>MASTER</category>
> <cardinality>1-2</cardinality>
> <versionAdvertised>true</versionAdvertised>
> <logs>
> <log>
> <logId>hdfs_namenode</logId>
> <primary>true</primary>
> </log>
> <log>
> <logId>hdfs_audit</logId>
> </log>
> </logs>
> ...
> </component>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)