You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Miklos Gergely (JIRA)" <ji...@apache.org> on 2016/04/14 14:19:25 UTC

[jira] [Updated] (AMBARI-15881) Mark primary log of the component

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

Miklos Gergely updated AMBARI-15881:
------------------------------------
    Attachment: AMBARI-15881.patch

> 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
>         Attachments: AMBARI-15881.patch
>
>
> 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)