[
https://issues.apache.org/jira/browse/YARN-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241075#comment-16241075
]
Hudson commented on YARN-6533:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13193 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13193/])
YARN-6533. Race condition in writing service record to registry in yarn
(jianhe: rev a041373dd418a123438c62c511c908859578bf01)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/providers/ProviderUtils.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/providers/docker/DockerProviderService.java
> Race condition in writing service record to registry in yarn native services
> ----------------------------------------------------------------------------
>
> Key: YARN-6533
> URL: https://issues.apache.org/jira/browse/YARN-6533
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: yarn-native-services
>
> Attachments: YARN-6533-yarn-native-services.001.patch,
> YARN-6533-yarn-native-services.002.patch,
> YARN-6533-yarn-native-services.003.patch
>
>
> The ServiceRecord is written twice, once when the container is initially
> registered and again in the Docker provider once the IP has been obtained for
> the container. These occur asynchronously, so the more important record (the
> one with the IP) can be overwritten by the initial record. Only one record
> needs to be written, so we can stop writing the initial record when the
> Docker provider is being used.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]