You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Artem Baranchuk (JIRA)" <ji...@apache.org> on 2014/02/26 14:51:19 UTC
[jira] [Updated] (AMBARI-4840) Metrics sink for both HDP1 and HDP2
versions
[ 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 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}
Test result for build with *-Pscom2* profile (by default)
{noformat}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.metrics2.sink.SqlServerSinkHDP2Test
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.sink.SqlServerSink).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.765 sec
Results :
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{noformat}
Test result for build with *-Pscom1* profile
{noformat}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.metrics2.sink.SqlServerSinkHDP1Test
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
Results :
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{noformat}
> Metrics sink for both HDP1 and HDP2 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 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}
> Test result for build with *-Pscom2* profile (by default)
> {noformat}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.metrics2.sink.SqlServerSinkHDP2Test
> log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.sink.SqlServerSink).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.765 sec
> Results :
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> {noformat}
> Test result for build with *-Pscom1* profile
> {noformat}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.metrics2.sink.SqlServerSinkHDP1Test
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Entering init
> 14/02/25 01:16:59 INFO sink.SqlServerSink: Exit init, cluster name = localhost
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
> Results :
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)