[
https://issues.apache.org/jira/browse/LENS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256670#comment-14256670
]
Raju Bairishetti commented on LENS-144:
---------------------------------------
*TestMLResource is failed with the patch*
Failed tests:
TestMLResource>LensJerseyTest.stopAll:91->LensJerseyTest.verifyMetrics:127
mismatch in the number of reporters expected [1] but found [0]
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Lens Checkstyle Rules ............................. SUCCESS [1.218s]
[INFO] Lens .............................................. SUCCESS [2.648s]
[INFO] Lens API .......................................... SUCCESS [5.865s]
[INFO] Lens API for server and extensions ................ SUCCESS [4.743s]
[INFO] Lens Cube ......................................... SUCCESS [6:54.178s]
[INFO] Lens DB storage ................................... SUCCESS [13.001s]
[INFO] Lens Query Library ................................ SUCCESS [5.893s]
[INFO] Lens Hive Driver .................................. SUCCESS [2:59.900s]
[INFO] Lens Driver for Cloudera Impala ................... SUCCESS [3.207s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [28.667s]
[INFO] Lens Server ....................................... SUCCESS [5:01.825s]
[INFO] Lens client ....................................... SUCCESS [22.188s]
[INFO] Lens CLI .......................................... SUCCESS [1:58.411s]
[INFO] Lens Examples ..................................... SUCCESS [0.776s]
[INFO] Lens Distribution ................................. SUCCESS [5.276s]
[INFO] Lens Client Distribution .......................... SUCCESS [6.193s]
[INFO] Lens ML Lib ....................................... FAILURE [45.568s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:20.589s
[INFO] Finished at: Tue Dec 23 06:53:37 UTC 2014
[INFO] Final Memory: 112M/1119M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on
project lens-ml-lib: There are test failures.
> LENS does not emit stats to ganglia
> -----------------------------------
>
> Key: LENS-144
> URL: https://issues.apache.org/jira/browse/LENS-144
> Project: Apache Lens
> Issue Type: Bug
> Components: server
> Reporter: Raju Bairishetti
> Assignee: Raju Bairishetti
> Priority: Minor
> Fix For: 2.0
>
>
> Currently, Lens server emits stats to console or ganglia based on the
> provided configuration. But currently lens server is not emitting stats to
> ganglia because it is not reading the configuration.
> {code:title=code snippet|borderStyle=solid}
> if (hiveConf.getBoolean(LensConfConstants.ENABLE_CONSOLE_METRICS, false)) {
> // ganglia reporter initialization
> ...
> }
> {code}
> instead it should be
> {code:title=Fix |borderStyle=solid}
> if (hiveConf.getBoolean(LensConfConstants.ENABLE_GANGLIA_METRICS, false)) {
> // ganglia reporter initialization
> ...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)