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

Yangze Guo edited comment on FLINK-18205 at 6/12/20, 3:58 AM:
--------------------------------------------------------------

FYI, I also found the same usage in org.apache.flink.yarn.Utils. I plan to 
mitigate the usage of reflection of that class in this ticket as well.


was (Author: karmagyz):
FYI, I also found the same usage in org.apache.flink.yarn.Utils. I plan to 
mitigate the usage of reflection in that class as well.

> Mitigate the use of reflection in HadoopModule and Utils
> --------------------------------------------------------
>
>                 Key: FLINK-18205
>                 URL: https://issues.apache.org/jira/browse/FLINK-18205
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>            Reporter: Yangze Guo
>            Assignee: Yangze Guo
>            Priority: Major
>              Labels: pull-request-available
>             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)

Reply via email to