You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Feifan Wang (Jira)" <ji...@apache.org> on 2021/10/15 06:52:00 UTC
[jira] [Created] (FLINK-24562) YarnResourceManagerDriverTest should
not use ContainerStatusPBImpl.newInstance
Feifan Wang created FLINK-24562:
-----------------------------------
Summary: 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
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)