Steve Loughran commented on YARN-2571:


1. If you can show me an example of an active service to start with, I'll 
gladly make it active only

2. We're relying on operations to be idempotent: whoever creates last wins, 
whoever deletes last wins. There's some race conditions on cleanup if there's a 
change between a read and a delete, but that's what you get in a world without 

> RM to support YARN registry 
> ----------------------------
>                 Key: YARN-2571
>                 URL: https://issues.apache.org/jira/browse/YARN-2571
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: YARN-2571-001.patch, YARN-2571-002.patch, 
> YARN-2571-003.patch, YARN-2571-005.patch, YARN-2571-007.patch, 
> YARN-2571-008.patch, YARN-2571-009.patch
> The RM needs to (optionally) integrate with the YARN registry:
> # startup: create the /services and /users paths with system ACLs (yarn, hdfs 
> principals)
> # app-launch: create the user directory /users/$username with the relevant 
> permissions (CRD) for them to create subnodes.
> # attempt, container, app completion: remove service records with the 
> matching persistence and ID

This message was sent by Atlassian JIRA

Reply via email to