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

Rui Fan commented on FLINK-33287:
---------------------------------

{quote} If at a point in time you want to add support for multiple versions of 
Flink
{quote}
Actually, the flink-autoscaler supports muitiple versions for now, its 
interaction with multiple flink versions is based on rest api.

Why does flink-autoscaler need to depend on flink, it just needs some Utils or 
common class, such as: JobStatus, JobVertex, RestClusterClient, etc.

Also, if we need to depend on multiple versions in the future, we can re-shade 
it at that time. It really isn't needed for now, WDYT?

> Using the flink shaded jackson for flink-autoscaler
> ---------------------------------------------------
>
>                 Key: FLINK-33287
>                 URL: https://issues.apache.org/jira/browse/FLINK-33287
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Autoscaler
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>
> FLINK-33098 still using the jackson version of {{flink-kubernetes-operator}} 
> instead of flink shaded version. I want to update it after {{flink-1.18}} 
> released.
> The reason is : current autoscaler is using the {{loaderOptions}} to limit 
> the serialized size.
>  * The shaded jackson version of {{flink-1.17}} is {{{}2.13.4-16.1{}}}, it 
> doesn't support the {{{}loaderOptions{}}}.
>  * The shaded jackson version of {{flink-1.18}} is {{{}2.14.2-17.0{}}}, it 
> supports the {{{}loaderOptions{}}}.
>  
> For details can be get from this comment[1].
>  
> [1] 
> https://github.com/apache/flink-kubernetes-operator/pull/677#discussion_r1336571925



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to