[
https://issues.apache.org/jira/browse/FLINK-30133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638117#comment-17638117
]
Matthias Pohl commented on FLINK-30133:
---------------------------------------
Thanks for your thorough analysis, Gabor. I went ahead and created PRs for that
minor issue. It would be great if you could create a follow up ticket that
covers the cleanup as this sounds like a reasonable refactoring.
> 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: pull-request-available, 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)