You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/01/11 13:52:59 UTC
[jira] [Assigned] (FLINK-4396) GraphiteReporter class not found at
startup of jobmanager
[ https://issues.apache.org/jira/browse/FLINK-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler reassigned FLINK-4396:
---------------------------------------
Assignee: Chesnay Schepler
> GraphiteReporter class not found at startup of jobmanager
> ---------------------------------------------------------
>
> Key: FLINK-4396
> URL: https://issues.apache.org/jira/browse/FLINK-4396
> Project: Flink
> Issue Type: Improvement
> Components: Build System, Metrics
> Affects Versions: 1.1.1
> Environment: Windows and Unix
> Reporter: RWenden
> Assignee: Chesnay Schepler
> 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)