[ https://issues.apache.org/jira/browse/FLINK-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894493#comment-15894493 ]
Till Rohrmann commented on FLINK-5949: -------------------------------------- This should also be relevant for {{1.3.0}}, right? > 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: Blocker > Fix For: 1.2.1 > > > 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)