[
https://issues.apache.org/jira/browse/AMBARI-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Baranchuk updated AMBARI-4840:
------------------------------------
Description:
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}
was:
To build *metric-sink* module for HDP1 and HDP2 we should use maven profiles.
To build *metric-sink* for HDP1 we have to use
{noformat}
mvn install -Pscom1
or
mvn install -Dscom1
{noformat}
To build *metric-sink* for HDP2 we can just run maven build without any
profiles or point scom2 profiles which active by default
{noformat}
mvn install
or
mvn install -Pscom2
{noformat}
> 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.4.2
> Reporter: Artem Baranchuk
> Assignee: Artem Baranchuk
> Fix For: 1.4.2
>
>
> 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)