flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RWenden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-4396) GraphiteReporter class not found at startup of jobmanager
Date Mon, 15 Aug 2016 14:48:20 GMT

     [ https://issues.apache.org/jira/browse/FLINK-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

RWenden updated FLINK-4396:
---------------------------
    Summary: GraphiteReporter class not found at startup of jobmanager  (was: MetricRegistry
class not found at startup of jobmanager)

> GraphiteReporter class not found at startup of jobmanager
> ---------------------------------------------------------
>
>                 Key: FLINK-4396
>                 URL: https://issues.apache.org/jira/browse/FLINK-4396
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.1.1
>         Environment: Windows and Unix
>            Reporter: RWenden
>              Labels: metrics
>             Fix For: 1.1.2
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> For Flink 1.1.1 we configured Graphite metrics settings on the flink-conf.yaml (for job
manager (and taskmanager)).
> We see the following error in the log:
> 2016-08-15 14:20:34,167 ERROR org.apache.flink.runtime.metrics.MetricRegistry       
       - Could not instantiate metrics reportermy_reporter. Metrics might not be exposed/reported.
> java.lang.ClassNotFoundException: org.apache.flink.metrics.graphite.GraphiteReporter
>                 at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>                 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>                 at java.lang.Class.forName0(Native Method)
>                 at java.lang.Class.forName(Class.java:264)
>                 at org.apache.flink.runtime.metrics.MetricRegistry.<init>(MetricRegistry.java:119)
> We found out that this class is not packaged inside flink-dist_2.11-1.1.1.jar.
> Long story short: we had to install/provide the following jars into the lib folder to
make Graphite metrics to work:
> flink-metrics-graphite-1.1.1.jar
> flink-metrics-dropwizard-1.1.1.jar
> metrics-graphite-3.1.0.jar (from dropwizard)
> We think these libraries (and the ones for Ganglia,StatsD,...) should be included in
flink-dist_2.11-1.1.1.jar, for these are needed at manager startup time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message