You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yangze Guo (Jira)" <ji...@apache.org> on 2020/06/09 07:45:00 UTC

[jira] [Created] (FLINK-18205) Mitigate the use of reflection in HadoopModule

Yangze Guo created FLINK-18205:
----------------------------------

             Summary: Mitigate the use of reflection in HadoopModule
                 Key: FLINK-18205
                 URL: https://issues.apache.org/jira/browse/FLINK-18205
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / YARN
            Reporter: Yangze Guo
             Fix For: 1.12.0


Since Flink drops support for Hadoop 1 since FLINK-4895, it would be good to mitigate the use of reflection in {{HadoopModule}}. To be specific, we could make sure the following methods exist in Hadoop 2+:
- Credentials#getAllTokens
- Credentials#readTokenStorageFile
- UserGroupInformation#addCredentials



--
This message was sent by Atlassian Jira
(v8.3.4#803005)