[
https://issues.apache.org/jira/browse/FLINK-23889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-23889:
-------------------------------------
Description:
This is what the slot manager logs when creating a standalone cluster, without
running any job:
{code}
2021-08-20 09:21:49,586 INFO FineGrainedSlotManager [] - Registering task
executor [::1]:45785-0effb8 under 71b35bc7267c2a5aa290fc5bc3789d56 at the slot
manager.
2021-08-20 09:21:49,593 INFO FineGrainedSlotManager [] - Scheduling the
resource requirement check.
2021-08-20 09:21:49,660 INFO FineGrainedSlotManager [] - Matching resource
requirements against available resources.
2021-08-20 09:22:48,465 INFO FineGrainedSlotManager [] - Release TaskManager
71b35bc7267c2a5aa290fc5bc3789d56 because it exceeded the idle timeout.
{code}
These are additional messages being logged when submitting a job:
{code}
2021-08-20 09:26:57,943 INFO FineGrainedSlotManager [] - Allocating task
managers for the resource requirements.
{code}
{{Scheduling the resource requirement check.}} is unnecessary information that
provides no benefits.
{{Matching resource requirements against available resources.}} should only be
logged if there are any requirements to actually match against.
{{Release TaskManager XXX because it exceeded the idle timeout}} is not
applicable in standalone mode; it is also logged repeatedly.
{{Allocating task managers for the resource requirements.}} is not applicable
to standalone mode.
was:
This is what the slot manager logs when creating a standalone cluster, without
running any job:
{code}
2021-08-20 09:21:49,586 INFO FineGrainedSlotManager [] - Registering task
executor [::1]:45785-0effb8 under 71b35bc7267c2a5aa290fc5bc3789d56 at the slot
manager.
2021-08-20 09:21:49,593 INFO FineGrainedSlotManager [] - Scheduling the
resource requirement check.
2021-08-20 09:21:49,660 INFO FineGrainedSlotManager [] - Matching resource
requirements against available resources.
2021-08-20 09:22:48,465 INFO FineGrainedSlotManager [] - Release TaskManager
71b35bc7267c2a5aa290fc5bc3789d56 because it exceeded the idle timeout.
{code}
{{Scheduling the resource requirement check.}} is unnecessary information that
provides no benefits.
{{Matching resource requirements against available resources.}} should only be
logged if there are any requirements to actually match against.
{{Release TaskManager XXX because it exceeded the idle timeout}} is not
applicable in standalone mode; it is also logged repeatedly.
> Unnecessary logging from FineGrainedSlotManager
> -----------------------------------------------
>
> Key: FLINK-23889
> URL: https://issues.apache.org/jira/browse/FLINK-23889
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Reporter: Chesnay Schepler
> Priority: Major
> Fix For: 1.14.0
>
>
> This is what the slot manager logs when creating a standalone cluster,
> without running any job:
> {code}
> 2021-08-20 09:21:49,586 INFO FineGrainedSlotManager [] - Registering task
> executor [::1]:45785-0effb8 under 71b35bc7267c2a5aa290fc5bc3789d56 at the
> slot manager.
> 2021-08-20 09:21:49,593 INFO FineGrainedSlotManager [] - Scheduling the
> resource requirement check.
> 2021-08-20 09:21:49,660 INFO FineGrainedSlotManager [] - Matching resource
> requirements against available resources.
> 2021-08-20 09:22:48,465 INFO FineGrainedSlotManager [] - Release TaskManager
> 71b35bc7267c2a5aa290fc5bc3789d56 because it exceeded the idle timeout.
> {code}
> These are additional messages being logged when submitting a job:
> {code}
> 2021-08-20 09:26:57,943 INFO FineGrainedSlotManager [] - Allocating task
> managers for the resource requirements.
> {code}
> {{Scheduling the resource requirement check.}} is unnecessary information
> that provides no benefits.
> {{Matching resource requirements against available resources.}} should only
> be logged if there are any requirements to actually match against.
> {{Release TaskManager XXX because it exceeded the idle timeout}} is not
> applicable in standalone mode; it is also logged repeatedly.
> {{Allocating task managers for the resource requirements.}} is not applicable
> to standalone mode.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)