[
https://issues.apache.org/jira/browse/FLINK-41379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41379:
-----------------------------------
Release Note: On YARN with hadoop.security.authentication=kerberos, the
Flink client now fails at submission with "Hadoop security with Kerberos is
enabled but the login user does not have Kerberos credentials or delegation
tokens!" when the user has neither a valid Kerberos ticket nor an HDFS
delegation token, including when security.kerberos.login.use-ticket-cache is
false without a keytab. Before, the client kept retrying the ResourceManager.
Submissions whose HADOOP_TOKEN_FILE_LOCATION file holds only non-HDFS
delegation tokens are rejected the same way, as they were with Hadoop 2. (was:
On YARN with hadoop.security.authentication=kerberos, the Flink client now
fails at submission with "Hadoop security with Kerberos is enabled but the
login user does not have
│ Kerberos credentials or delegation tokens!" when the user has neither a
valid Kerberos ticket nor an HDFS delegation token, including when
security.kerberos.login.use-ticket-
│ cache is false without a keytab. Before, the client kept retrying the
ResourceManager. Submissions whose HADOOP_TOKEN_FILE_LOCATION file holds only
non-HDFS delegation tokens
│ are rejected the same way, as they were with Hadoop 2.)
> Flink on YARN doesn't report missing Kerberos credentials with Hadoop 3
> -----------------------------------------------------------------------
>
> Key: FLINK-41379
> URL: https://issues.apache.org/jira/browse/FLINK-41379
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Blocker
> Labels: pull-request-available
>
> YarnClusterDescriptor only checks for Kerberos credentials when the login
> user's authentication method is KERBEROS
> (HadoopUtils.isKerberosSecurityEnabled). Without a ticket, Hadoop 3 reports
> SIMPLE, while Hadoop 2.10.2 reported KERBEROS, so the check is skipped.
> Instead of failing with "Hadoop security with Kerberos is enabled but the
> login user does not have Kerberos credentials or delegation tokens!", the
> client keeps retrying the ResourceManager.
> This already affects Hadoop 3 users. With FLINK-41378 raising the minimum to
> Hadoop 3.4.3 it affects every secured YARN deployment. Found while moving the
> secure YARN e2e test to Hadoop 3.4.3.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)