You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2016/01/16 00:02:40 UTC
[jira] [Created] (HADOOP-12716)
KerberosAuthenticator#doSpnegoSequence use incorrect class to determine
isKeyTab in JDK8
Xiaoyu Yao created HADOOP-12716:
-----------------------------------
Summary: KerberosAuthenticator#doSpnegoSequence use incorrect class to determine isKeyTab in JDK8
Key: HADOOP-12716
URL: https://issues.apache.org/jira/browse/HADOOP-12716
Project: Hadoop Common
Issue Type: Bug
Reporter: Xiaoyu Yao
Assignee: Xiaoyu Yao
HADOOP-11287 and HADOOP-10786 has fixed the issue in UserGroupInformation class for JDK8.
However, the logic in KerberosAuthenticator#doSpnegoSequence is not updated. The KerberosKey.class below should be KeyTab.class for JDK8.
{code}
if (subject == null
|| (subject.getPrivateCredentials(KerberosKey.class).isEmpty()
&& subject.getPrivateCredentials(KerberosTicket.class).isEmpty())) {
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)