Miklos Gergely created AMBARI-15881:
---------------------------------------
Summary: 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)