Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5079 [Umbrella] Native YARN framework layer for services and beyond
  3. YARN-6533

Race condition in writing service record to registry in yarn native services

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: yarn-native-services
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. YARN-6533-yarn-native-services.001.patch
          5 kB
          Billie Rinaldi
        2. YARN-6533-yarn-native-services.002.patch
          6 kB
          Billie Rinaldi
        3. YARN-6533-yarn-native-services.003.patch
          5 kB
          Billie Rinaldi

          Activity

            People

            • Assignee:
              billie Billie Rinaldi
              Reporter:
              billie Billie Rinaldi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: