[jira] [Commented] (FLINK-18205) Mitigate the use of reflection in HadoopModule
[ https://issues.apache.org/jira/browse/FLINK-18205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133889#comment-17133889 ] Yangze Guo commented on FLINK-18205: 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 > -- > > 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 > 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)
[jira] [Commented] (FLINK-18205) Mitigate the use of reflection in HadoopModule
[ https://issues.apache.org/jira/browse/FLINK-18205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133321#comment-17133321 ] Till Rohrmann commented on FLINK-18205: --- Sure, go ahead [~karmagyz]. > 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 >Assignee: Yangze Guo >Priority: Major > 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)
[jira] [Commented] (FLINK-18205) Mitigate the use of reflection in HadoopModule
[ https://issues.apache.org/jira/browse/FLINK-18205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17128965#comment-17128965 ] Yangze Guo commented on FLINK-18205: Could someone kindly assign this to me? > 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 >Priority: Major > 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)