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

Gyula Fora commented on FLINK-32016:
------------------------------------

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)

Reply via email to