You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/11/25 02:55:51 UTC
[flink] branch master updated: [FLINK-30133][hadoop] Changes log level and make log message more descriptive.
This is an automated email from the ASF dual-hosted git repository.
mapohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 5086a33f410 [FLINK-30133][hadoop] Changes log level and make log message more descriptive.
5086a33f410 is described below
commit 5086a33f41058e3a87bae4bf0107032fd0194b67
Author: Matthias Pohl <ma...@aiven.io>
AuthorDate: Thu Nov 24 14:09:14 2022 +0800
[FLINK-30133][hadoop] Changes log level and make log message more descriptive.
Signed-off-by: Matthias Pohl <ma...@aiven.io>
---
.../apache/flink/runtime/security/modules/HadoopModuleFactory.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/HadoopModuleFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/HadoopModuleFactory.java
index 0c2b03881cc..361aa0d64cc 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/HadoopModuleFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/HadoopModuleFactory.java
@@ -48,7 +48,9 @@ public class HadoopModuleFactory implements SecurityModuleFactory {
HadoopUtils.getHadoopConfiguration(securityConfig.getFlinkConfig());
return new HadoopModule(securityConfig, hadoopConfiguration);
} catch (LinkageError e) {
- LOG.error("Cannot create Hadoop Security Module.", e);
+ LOG.warn(
+ "Cannot create Hadoop Security Module due to an error that happened while instantiating the module. No security module will be loaded.",
+ e);
return null;
}
}