[ 
https://issues.apache.org/jira/browse/FLINK-30133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637045#comment-17637045
 ] 

Matthias Pohl commented on FLINK-30133:
---------------------------------------

[~gsomogyi] I'm curious what you think of that. Do you agree that warning the 
user through a log message is good enough or should we fail fatally if the 
hadoop security module failed to be loaded because the user might assume 
certain security measures being in place if he/she misses this log warning.

> HadoopModuleFactory creates error if the security module cannot be loaded
> -------------------------------------------------------------------------
>
>                 Key: FLINK-30133
>                 URL: https://issues.apache.org/jira/browse/FLINK-30133
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hadoop Compatibility
>    Affects Versions: 1.16.0, 1.17.0, 1.15.2
>            Reporter: Matthias Pohl
>            Priority: Minor
>              Labels: starter
>
> [HadoopModuleFactory|https://github.com/apache/flink/blob/26aa543b3bbe2b606bbc6d332a2ef7c5b46d25eb/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/HadoopModuleFactory.java#L51]
>  tries to load the {{{}HadoopModule{}}}. If it fails to load the module, it 
> will log an error an return {{null}} which is going to be handled properly. 
> The resulting error log is, therefore, confusing. We might want to lower the 
> log level to warning since the error doesn't affect the Flink cluster in a 
> fatal way.
> We might want to make the cluster fail fatally if we consider this a sever 
> usability problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to