[
https://issues.apache.org/jira/browse/LENS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arshad Matin closed LENS-144.
-----------------------------
> 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
>
> Attachments: LENS-144.patch
>
>
> 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)