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

Tan Kim commented on FLINK-32016:
---------------------------------

The above log is being printed periodically, even though I am not using a 
session cluster and the AUTOSCALER_ENABLED option is turned on.

There seems to be a point in time when FlinkResourceReconciler does not 
recognize the AUTOSCALER_ENABLED option properly when reconciliation is 
performed and it is logged.

> 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