You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2020/04/20 13:16:00 UTC

[jira] [Closed] (FLINK-17257) AbstractYarnClusterTest does not compile with Hadoop 2.10

     [ https://issues.apache.org/jira/browse/FLINK-17257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhu Zhu closed FLINK-17257.
---------------------------
    Resolution: Fixed

Fixed via fe78c9b41333996c80c6ef8a65d1351a6d24af7e

> AbstractYarnClusterTest does not compile with Hadoop 2.10
> ---------------------------------------------------------
>
>                 Key: FLINK-17257
>                 URL: https://issues.apache.org/jira/browse/FLINK-17257
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / YARN, Tests
>    Affects Versions: 1.11.0
>            Reporter: Xintong Song
>            Assignee: Xintong Song
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> In {{AbstractYarnClusterTest}}, we create {{ApplicationReport}} with the static method {{ApplicationReport.newInstance}}, which is annotated as private and unstable. This method is no longer compatible in Hadoop 2.10.
> As a workaround, we can create {{ApplicationReport}} with its default constructor and set only the fields that we need.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)