You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2023/05/06 07:38:00 UTC
[jira] [Comment Edited] (FLINK-32016) Logs are printed as disabled even if the autoscaler option is true
[ https://issues.apache.org/jira/browse/FLINK-32016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720163#comment-17720163 ]
Gyula Fora edited comment on FLINK-32016 at 5/6/23 7:37 AM:
------------------------------------------------------------
This looks correct, autoscaler is disabled on session clusters. We don’t log the option we log that the autoscaler is not going to do anything here:)
was (Author: gyfora):
This looks correct, autoscaler is disabled by session clusters. We don’t log the option we log that the autoscaler is not going to do anything here:)
> Logs are printed as disabled even if the autoscaler option is true
> ------------------------------------------------------------------
>
> Key: FLINK-32016
> URL: https://issues.apache.org/jira/browse/FLINK-32016
> Project: Flink
> Issue Type: Improvement
> Components: Autoscaler
> Reporter: Tan Kim
> Priority: Minor
>
> The part where the job.autoscaler.enabled option is logged as disabled due to the code below, even if it is set to true, is misleading to users and needs to be corrected in the log message.
> {code:java}
> if (resource.getSpec().getJob() == null || !conf.getBoolean(AUTOSCALER_ENABLED)) {
> LOG.info("Job autoscaler is disabled");
> return false;
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)