Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4757

[Umbrella] Simplified discovery of services via DNS mechanisms

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • A DNS server backed by yarn service registry is implemented to enable service discovery on YARN using standard DNS lookup.

    Description

      [See overview doc at YARN-4692, copying the sub-section (3.2.10.2) to track all related efforts.]

      In addition to completing the present story of service­-registry (YARN-913), we also need to simplify the access to the registry entries. The existing read mechanisms of the YARN Service Registry are currently limited to a registry specific (java) API and a REST interface. In practice, this makes it very difficult for wiring up existing clients and services. For e.g, dynamic configuration of dependent end­points of a service is not easy to implement using the present registry­-read mechanisms, without code-changes to existing services.

      A good solution to this is to expose the registry information through a more generic and widely used discovery mechanism: DNS. Service Discovery via DNS uses the well-­known DNS interfaces to browse the network for services. YARN-913 in fact talked about such a DNS based mechanism but left it as a future task. (Task) Having the registry information exposed via DNS simplifies the life of services.

      Attachments

        1. YARN-4757- Simplified discovery of services via DNS mechanisms.pdf
          810 kB
          Jonathan Maron
        2. 0001-YARN-4757-Initial-code-submission-for-DNS-Service.patch
          159 kB
          Jonathan Maron
        3. YARN-4757-YARN-4757.001.patch
          159 kB
          Varun Vasudev
        4. YARN-4757-YARN-4757.002.patch
          181 kB
          Jonathan Maron
        5. YARN-4757-YARN-4757.003.patch
          184 kB
          Jonathan Maron
        6. YARN-4757.001.patch
          181 kB
          Jonathan Maron
        7. YARN-4757.002.patch
          181 kB
          Jonathan Maron
        8. YARN-4757-YARN-4757.004.patch
          184 kB
          Jonathan Maron
        9. YARN-4757-YARN-4757.005.patch
          184 kB
          Jonathan Maron

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vinodkv Vinod Kumar Vavilapalli
              Votes:
              0 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: