You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2020/02/28 04:03:26 UTC
[bigtop] branch master updated: BIGTOP-3314: Fix flink build
failure with upgraded hadoop version (#609)
This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 2b70354 BIGTOP-3314: Fix flink build failure with upgraded hadoop version (#609)
2b70354 is described below
commit 2b70354a1529ee22087480eb04d4903e760f5199
Author: Jun <ju...@linaro.org>
AuthorDate: Fri Feb 28 12:03:19 2020 +0800
BIGTOP-3314: Fix flink build failure with upgraded hadoop version (#609)
Flink 1.6.4 failed to build with new hadoop 2.10.0. The root cause
is ApplicationReport newInstance API is changed.
Add a patch to upgrade API call in flink.
Change-Id: I5ae0f0e786a92f805feace67d5fe2facea0d9314
Signed-off-by: Jun He <ju...@arm.com>
---
.../src/common/flink/patch0-fix-ApplicationReport-api.diff | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/bigtop-packages/src/common/flink/patch0-fix-ApplicationReport-api.diff b/bigtop-packages/src/common/flink/patch0-fix-ApplicationReport-api.diff
new file mode 100644
index 0000000..c76d3c3
--- /dev/null
+++ b/bigtop-packages/src/common/flink/patch0-fix-ApplicationReport-api.diff
@@ -0,0 +1,12 @@
+diff --git a/flink-yarn/src/test/java/org/apache/flink/yarn/AbstractYarnClusterTest.java b/flink-yarn/src/test/java/org/apache/flink/yarn/AbstractYarnClusterTest.java
+index 8ee08db..fcd56d0 100644
+--- a/flink-yarn/src/test/java/org/apache/flink/yarn/AbstractYarnClusterTest.java
++++ b/flink-yarn/src/test/java/org/apache/flink/yarn/AbstractYarnClusterTest.java
+@@ -98,6 +98,7 @@ public class AbstractYarnClusterTest extends TestLogger {
+ yarnApplicationState,
+ null,
+ null,
++ 0,
+ 1L,
+ 2L,
+ finalApplicationStatus,