[
https://issues.apache.org/jira/browse/AMBARI-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913044#comment-13913044
]
Artem Baranchuk commented on AMBARI-4840:
-----------------------------------------
commited to trunk
> Metrics sink for both Hadoop1 and Hadoop2 versions
> --------------------------------------------------
>
> Key: AMBARI-4840
> URL: https://issues.apache.org/jira/browse/AMBARI-4840
> Project: Ambari
> Issue Type: Task
> Components: Ambari-SCOM
> Affects Versions: 1.5.0
> Reporter: Artem Baranchuk
> Assignee: Artem Baranchuk
> Fix For: 1.5.0
>
> Attachments: AMBARI-4840.patch
>
>
> To build *metric-sink* module for Hadoop1 and Hadoop2 we should use maven
> profiles. To build *metric-sink* for Hadoop1 we have to use
> {noformat}
> mvn install -Phadoop1
> or
> mvn install -Dhadoop1
> {noformat}
> To build *metric-sink* for Hadoop2 we can just run maven build without any
> profiles or point hadoop2 profiles which active by default
> {noformat}
> mvn install
> or
> mvn install -Phadoop2
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)