You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/08/30 13:40:20 UTC

[jira] [Commented] (FLINK-4532) Allow independent metrics reporter for tasks

    [ https://issues.apache.org/jira/browse/FLINK-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449040#comment-15449040 ] 

Stephan Ewen commented on FLINK-4532:
-------------------------------------

Can you cover this by isolating running jobs via Yarn/Mesos/etc (which gives them dedicates TaskManager / JobManager processes) and attach a custom config to each job? That would bring up the TaskManager / JobManager processes with that config and the job would have specialized metric reporters.

The proposed change would add yet another layer of complexity that would be nice to avoid, if possible.

> Allow independent metrics reporter for tasks
> --------------------------------------------
>
>                 Key: FLINK-4532
>                 URL: https://issues.apache.org/jira/browse/FLINK-4532
>             Project: Flink
>          Issue Type: Improvement
>          Components: Metrics
>            Reporter: Renkai Ge
>
> Currently,  JobManager, TaskManager and Task share the same configuration of reporters, and implementations of org.apache.flink.metrics.reporter.MetricReporter  should be in classpath before JobManager started. 
> In a cluster with multi tenancy, cluster administrator may want to monitor the cluster metrics in one place, and the owner of a application want to view the metrics of their application in somewhere else, and they may put custom MetricReporter in the application jar if the classpath don't provide one.
> I want to implement this by:
> 	1. Make it possible to load MetricReporter from userCodeClassLoader.
> 	2. Put new API into ExecutionConfig like {code}public long enableAdditionalMetricReporters(List<String> classNames,boolean disableGlobalMetricReporters);{code}
> I will begin to work on this if you guys agrees.



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