Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.0
-
None
Description
After AMBARI-22824, rm_security_opts is defined in YARN_OPTS. YARN_OPTS is used by every single yarn command and daemon.
But this is not correct as rm_security_opts refers to the yarn_jaas.conf which contains the ResourceManager keytab and principal.
This leads to issues in certain kerberos environments where yarn client commands will not work for users not having access to the Resoucemanager keytab.
We should instead set rm_security_opts to YARN_RESOURCEMANAGER_OPTS.