[ https://issues.apache.org/jira/browse/FLINK-15264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998927#comment-16998927 ]
xiaogang zhou commented on FLINK-15264: --------------------------------------- As There is JobID jobId attribute in the TaskManagerSlot, it should be possible to expose the slot occupation in the Resource Manager Layer. As the Single flink Job mode on Yarn is facing this issue, I believe this should be a necessary improvement. Can we discuss whether this is acceptable to expose the per job slots occupation in the ResourceManager layer? Please kindly let me know your thinking > Job Manager TASK_SLOTS_TOTAL metrics does not shows the Job ID > -------------------------------------------------------------- > > Key: FLINK-15264 > URL: https://issues.apache.org/jira/browse/FLINK-15264 > Project: Flink > Issue Type: Improvement > Components: Runtime / Metrics > Affects Versions: 1.8.1 > Reporter: xiaogang zhou > Priority: Major > Attachments: image-2019-12-17-17-01-51-826.png > > > I am running the Single flink Job mode on Yarn. As each Job has a Job manager > running some where in the host of the yarn. Sometimes different Job managers > can running on the same host, and the metrics TASK_SLOTS_TOTAL has no > identification to show which job they are belonging. > > Can we support a metric which can tell how many slots each job occupies? like > put a job-id description in TASK_SLOTS_TOTAL, or add another seperate > metrics. > > [~chesnay] seems you helped lots of people in the runtime/metrics section. > let me know your opinion, or you can tell me any existing solution to solve > the problem. Thanks a lot -- This message was sent by Atlassian Jira (v8.3.4#803005)