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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Xintong Song created FLINK-17257:
------------------------------------

             Summary: 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.9.3, 1.10.1, 1.11.0
            Reporter: Xintong Song
             Fix For: 1.11.0, 1.10.2, 1.9.4


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)