[
https://issues.apache.org/jira/browse/FLINK-24562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xintong Song reassigned FLINK-24562:
------------------------------------
Assignee: Feifan Wang
> YarnResourceManagerDriverTest should not use ContainerStatusPBImpl.newInstance
> ------------------------------------------------------------------------------
>
> Key: FLINK-24562
> URL: https://issues.apache.org/jira/browse/FLINK-24562
> Project: Flink
> Issue Type: Improvement
> Components: Deployment / YARN
> Affects Versions: 1.14.0
> Reporter: Feifan Wang
> Assignee: Feifan Wang
> Priority: Major
> Labels: pull-request-available
>
> In YarnResourceManagerDriverTest, we create ContainerStatus with the static
> method ContainerStatusPBImpl{{.newInstance}}, which is annotated as private
> and unstable.
> Although this method is still available in the latest version of yarn, some
> third-party versions of yarn may modify it. In fact, this method was modified
> in the internal version provided by our yarn team, which caused flink-1.14.0
> to fail to compile.
> Moreover, there is already an org.apache.flink.yarn.TestingContainerStatus, I
> think we should use it directly.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)