You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/09/07 14:07:44 UTC
[flink] branch release-1.13 updated (c7ccd24 -> 30fca11)
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a change to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git.
from c7ccd24 [FLINK-24064][connector/common] HybridSource restore from savepoint
new 8f48f0c [hotfix][yarn-tests] Fixes path definition for local YARN-test working directory artifact collection
new e313a66 [hotfix][yarn-tests] Replaces runtime by timestamp
new 30fca11 [FLINK-23611][yarn-tests] Disables INFO log messages coming from YARN's ResourceLocalizationService
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/test/java/org/apache/flink/yarn/YarnTestBase.java | 2 +-
flink-yarn-tests/src/test/resources/log4j2-test.properties | 2 +-
tools/ci/log4j.properties | 5 +++++
3 files changed, 7 insertions(+), 2 deletions(-)
[flink] 01/03: [hotfix][yarn-tests] Fixes path definition for local
YARN-test working directory artifact collection
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 8f48f0c474d652abc160ad892eb4e0de18888acd
Author: Matthias Pohl <ma...@ververica.com>
AuthorDate: Wed Aug 25 15:49:57 2021 +0200
[hotfix][yarn-tests] Fixes path definition for local YARN-test working directory artifact collection
---
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
index c77e115..85d4c5a 100644
--- a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
+++ b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
@@ -1216,7 +1216,7 @@ public abstract class YarnTestBase extends TestLogger {
// to <flinkRoot>/target/flink-yarn-tests-*.
// The files from there are picked up by the tools/ci/* scripts to upload them.
if (isOnCI()) {
- File target = new File("../target" + YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
+ File target = new File("../target/" + YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
if (!target.mkdirs()) {
LOG.warn("Error creating dirs to {}", target);
}
[flink] 03/03: [FLINK-23611][yarn-tests] Disables INFO log messages
coming from YARN's ResourceLocalizationService
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 30fca11d13359870e9d5f3308d7c1b41ca2e607f
Author: Matthias Pohl <ma...@ververica.com>
AuthorDate: Mon Sep 6 15:40:40 2021 +0200
[FLINK-23611][yarn-tests] Disables INFO log messages coming from YARN's ResourceLocalizationService
We observed regular INFO log messages being produced by ResourceLocalizationService after the test ran into a timeout:
```
22:51:31,785 [AsyncDispatcher event handler] INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService [] - Cache Size Before Clean: 0, Total Deleted: 0, Public Deleted: 0, Private Deleted: 0
22:51:32,398 [AsyncDispatcher event handler] INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService [] - Cache Size Before Clean: 0, Total Deleted: 0, Public Deleted: 0, Private Deleted: 0
```
These log messages appeared every 10 minutes which prevented the ci/tools/test_controller.sh's watchdog mechanism to
kick in. The watchdog mechanism relies on no output being produced for a given amount of time. This way, the
test_controller script was unable to archive the YARN Flink log.
---
tools/ci/log4j.properties | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/ci/log4j.properties b/tools/ci/log4j.properties
index a9cacb0..84900a3 100644
--- a/tools/ci/log4j.properties
+++ b/tools/ci/log4j.properties
@@ -59,3 +59,8 @@ logger.yarn1.appenderRef.out.ref = ConsoleAppender
logger.yarn2.name = org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase
logger.yarn2.level = INFO
logger.yarn2.appenderRef.out.ref = ConsoleAppender
+
+# YARN's cache cleanup is generating log output on a regular basis which prevents tools/ci/test_controller.sh's
+# watchdog mechanism to kick in in case of a timeout. Disabling this regular log message helps detecting timeouts.
+logger.yarn3.name = org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService
+logger.yarn3.level = WARN
[flink] 02/03: [hotfix][yarn-tests] Replaces runtime by timestamp
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
commit e313a663428fcd891e5fbb333c5c604cd6fa8ea1
Author: Matthias Pohl <ma...@ververica.com>
AuthorDate: Fri Aug 27 12:00:50 2021 +0200
[hotfix][yarn-tests] Replaces runtime by timestamp
The intend is to improve local debugging matching log events in different log
files (YARN, Flink) via the timestamp.
---
flink-yarn-tests/src/test/resources/log4j2-test.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-yarn-tests/src/test/resources/log4j2-test.properties b/flink-yarn-tests/src/test/resources/log4j2-test.properties
index 1d2e170..c0bc319 100644
--- a/flink-yarn-tests/src/test/resources/log4j2-test.properties
+++ b/flink-yarn-tests/src/test/resources/log4j2-test.properties
@@ -25,7 +25,7 @@ appender.testlogger.name = TestLogger
appender.testlogger.type = CONSOLE
appender.testlogger.target = SYSTEM_ERR
appender.testlogger.layout.type = PatternLayout
-appender.testlogger.layout.pattern = %-4r [%t] %-5p %c %x - %m%n
+appender.testlogger.layout.pattern = %d [%t] %-5p %c %x - %m%n
logger.hadoop.name = org.apache.hadoop
logger.hadoop.level = OFF