You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2014/04/09 00:51:16 UTC
[jira] [Created] (YARN-1915) ClientToAMTokenMasterKey should be
provided to AM at launch time
Hitesh Shah created YARN-1915:
---------------------------------
Summary: ClientToAMTokenMasterKey should be provided to AM at launch time
Key: YARN-1915
URL: https://issues.apache.org/jira/browse/YARN-1915
Project: Hadoop YARN
Issue Type: Sub-task
Affects Versions: 2.2.0
Reporter: Hitesh Shah
Priority: Critical
Currently, the AM receives the key as part of registration. This introduces a race where a client can connect to the AM when the AM has not received the key.
Current Flow:
1) AM needs to start the client listening service in order to get host:port and send it to the RM as part of registration
2) RM gets the port info in register() and transitions the app to RUNNING. Responds back with client secret to AM.
3) User asks RM for client token. Gets it and pings the AM. AM hasn't received client secret from RM and so RPC itself rejects the request.
--
This message was sent by Atlassian JIRA
(v6.2#6252)