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 2020/06/12 12:16:05 UTC

[flink] 07/10: [FLINK-17977][runtime] Log incompatible security context factories on DEBUG

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git

commit daa5cf7ee8352cbd3a258dc9c66780cd5919c899
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Jun 11 19:11:21 2020 +0200

    [FLINK-17977][runtime] Log incompatible security context factories on DEBUG
    
    Being incompatible is perfectly normal, as it is for example the case if the security context isn't configured in the first place.
---
 .../src/main/java/org/apache/flink/runtime/security/SecurityUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/security/SecurityUtils.java b/flink-runtime/src/main/java/org/apache/flink/runtime/security/SecurityUtils.java
index e187d12..f9c326d 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/security/SecurityUtils.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/security/SecurityUtils.java
@@ -98,7 +98,7 @@ public class SecurityUtils {
 						LOG.error("Error occur when instantiate security context with: " + contextFactoryClass , le);
 					}
 				} else {
-					LOG.warn("Unable to install incompatible security context factory {}", contextFactoryClass);
+					LOG.debug("Unable to install security context factory {}", contextFactoryClass);
 				}
 			} catch (NoMatchSecurityFactoryException ne) {
 				LOG.warn("Unable to instantiate security context factory {}", contextFactoryClass);