[
https://issues.apache.org/jira/browse/YARN-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated YARN-945:
-----------------------------------------
Attachment: YARN-945-20130728.txt
Here's a patch that fixes this
- Removes service-set for AMRMToken on the server side completely
- Changes ClientRMProxy to set the token-service address with the RM
bind-address that it intends to connect to. Once we have FailOverProviders for
HA, this code will likely move there.
- Did some minor code style updates to RMProxy and ServerRMProxy
- Fixed recovery code to store and retrieve AMRMToken based on a constant.
This will have to be changed in future to some kind of a service-ID/cluster-ID
- Fixed tests that were failing before the patch because of multiple local
addresses on my Mac. They pass after the patch.
I can run jobs successfully with 0.0.0.0 as bind-addresses on a single node
cluster.
Not that this bug was always the case (since MAPREDUCE-4162) with single node
secure installs. YARN-701 just made it common even for non-secure install.
> AM register failing after AMRMToken
> -----------------------------------
>
> Key: YARN-945
> URL: https://issues.apache.org/jira/browse/YARN-945
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.1.0-beta
> Reporter: Bikas Saha
> Assignee: Vinod Kumar Vavilapalli
> Priority: Blocker
> Fix For: 2.1.0-beta
>
> Attachments: nm.log, rm.log, YARN-945-20130728.txt, yarn-site.xml
>
>
> 509 2013-07-19 15:53:55,569 INFO org.apache.hadoop.ipc.Server: IPC Server
> listener on 54313: readAndProcess from client 127.0.0.1 threw exception
> [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is
> not enabled. Available:[TOKEN]]
> 510 org.apache.hadoop.security.AccessControlException: SIMPLE authentication
> is not enabled. Available:[TOKEN]
> 511 at
> org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1531)
> 512 at
> org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1482)
> 513 at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:788)
> 514 at
> org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:587)
> 515 at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:562)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira