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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)