[
https://issues.apache.org/jira/browse/HADOOP-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238780#comment-14238780
]
Stephen Chu commented on HADOOP-11287:
--------------------------------------
To fix the above, we just check for presence of
javax.security.auth.kerberos.KeyTab, and we don't need the reflection anymore
because the class is available in JDK7 and up.
> Simplify UGI#reloginFromKeytab for Java 7+
> ------------------------------------------
>
> Key: HADOOP-11287
> URL: https://issues.apache.org/jira/browse/HADOOP-11287
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Haohui Mai
> Assignee: Li Lu
> Attachments: HADOOP-11287-120814.patch, HADOOP-11287-120814.patch
>
>
> HADOOP-10786 uses reflection to make {{UGI#reloginFromKeytab}} work with Java
> 6/7/8. In 2.7 Java 6 will no longer be supported, thus the code can be
> simplified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)