[ https://issues.apache.org/jira/browse/YARN-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Templeton resolved YARN-4632. ------------------------------------ Resolution: Won't Fix Because we can't, we won't, and we don't fix. > Replacing _HOST in RM_PRINCIPAL should not be the responsibility of the > client code > ----------------------------------------------------------------------------------- > > Key: YARN-4632 > URL: https://issues.apache.org/jira/browse/YARN-4632 > Project: Hadoop YARN > Issue Type: Improvement > Components: api, resourcemanager > Affects Versions: 2.7.1 > Reporter: Daniel Templeton > Assignee: Daniel Templeton > Priority: Critical > > It is currently the client's responsibility to call > {{SecurityUtil.getServerPrincipal()}} to replace the _HOST placeholder in any > principal name used for a delegation token. This is a non-optional operation > and should not be pushed onto the client. > All client apps that followed the distributed shell as the canonical example > failed to do the replacement because distributed shell fails to do the > replacement. (See YARN-4629.) Rather than fixing the whole world, since the > whole world use distributed shell as a model, let's move the operation into > YARN where it belongs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)