[
https://issues.apache.org/jira/browse/FLINK-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai updated FLINK-5949:
---------------------------------------
Description:
Reported in ML:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Yarn-and-MapR-Kerberos-issue-td11996.html
The problem is that the Flink on YARN client incorrectly assumes
{{UserGroupInformation.isSecurityEnabled()}} returns {{true}} only for Kerberos
authentication modes, whereas it actually returns {{true}} for other kinds of
authentications too.
We could make use of {{UserGroupInformation.getAuthenticationMethod()}} to
check for {{KERBEROS}} only.
was:
Reported in ML:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Yarn-and-MapR-Kerberos-issue-td11996.html
The problem is that the Flink on YARN client incorrectly assumes
{{UserGroupInformation.isSecurityEnabled()}} returns {{true}} only for Kerberos
authentication modes, whereas it actually returns {{true}} for other kinds of
authentications too.
We should use {{UserGroupInformation.getAuthenticationMethod()}} to check for
{{KERBEROS}} only.
> Flink on YARN checks for Kerberos credentials for non-Kerberos authentication
> methods
> -------------------------------------------------------------------------------------
>
> Key: FLINK-5949
> URL: https://issues.apache.org/jira/browse/FLINK-5949
> Project: Flink
> Issue Type: Bug
> Components: Security, YARN
> Affects Versions: 1.2.0
> Reporter: Tzu-Li (Gordon) Tai
> Priority: Critical
>
> Reported in ML:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Yarn-and-MapR-Kerberos-issue-td11996.html
> The problem is that the Flink on YARN client incorrectly assumes
> {{UserGroupInformation.isSecurityEnabled()}} returns {{true}} only for
> Kerberos authentication modes, whereas it actually returns {{true}} for other
> kinds of authentications too.
> We could make use of {{UserGroupInformation.getAuthenticationMethod()}} to
> check for {{KERBEROS}} only.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)