You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chen Qin (Jira)" <ji...@apache.org> on 2021/03/24 16:44:00 UTC
[jira] [Commented] (FLINK-17359) Entropy key is not resolved if
flink-s3-fs-hadoop is added as a plugin
[ https://issues.apache.org/jira/browse/FLINK-17359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307991#comment-17307991 ]
Chen Qin commented on FLINK-17359:
----------------------------------
Hi [~premsantosh], We see a regression of this bug with 1.11.2.
detail[ http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Flink-job-cannot-find-recover-path-after-using-entropy-injection-for-s3-file-systems-tp49527p49656.html|http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Flink-job-cannot-find-recover-path-after-using-entropy-injection-for-s3-file-systems-tp49527p49656.html]
do you have cycle to review a small fix pr?
> Entropy key is not resolved if flink-s3-fs-hadoop is added as a plugin
> ----------------------------------------------------------------------
>
> Key: FLINK-17359
> URL: https://issues.apache.org/jira/browse/FLINK-17359
> Project: Flink
> Issue Type: Bug
> Components: FileSystems
> Reporter: Prem Santosh
> Assignee: Prem Santosh
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.1, 1.11.0
>
>
> Using flink 1.10
> I added the flink-s3-fs-hadoop jar in plugins dir but I am seeing the checkpoints paths like {{s3://my_app/__ENTROPY__/app_name-staging/flink/checkpoints/e10f47968ae74934bd833108d2272419/chk-3071}} which means the entropy injection key is not being resolved. After some debugging I found that in the [EntropyInjector|https://github.com/apache/flink/blob/release-1.10.0/flink-core/src/main/java/org/apache/flink/core/fs/EntropyInjector.java#L97] we check if the given fileSystem is of type {{SafetyNetWrapperFileSystem}} and if so we check if the delegate is of type {{EntropyInjectingFileSystem}} but don't check for {{[ClassLoaderFixingFileSystem |https://github.com/apache/flink/blob/release-1.10.0/flink-core/src/main/java/org/apache/flink/core/fs/PluginFileSystemFactory.java#L65]}} which would be the type if S3 file system dependencies are added as a plugin.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)