Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20560

Need mechanism to require one or more of a set of services as required in metainfo.xml file.

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      It appears that HDP 2.6 (and HDP 2.5 with Spark 2.0.0 TP) supports both Spark1 and Spark2. It will allow these services to be installed side by side and an environment variable will determine which is used when a process that needs spark is run.

      Services have a metainfo.xml file which they can list other services which are required for their service to function properly. If a service required Spark (any version) how would they define this in the metainfo.xml file? For instance I wouldn’t want the following as it would imply that both Spark 1.x and Spark 2.x had to be installed:

      <requiredServices>
        <service>SPARK</service>
        <service>SPARK2</service>
      </requiredServices>
      

      I also wouldn’t want to list only one or the other because this service supports both versions.

      There should be some sort of mechanism to say 1 or more of these services from a given set is required.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jackson Christopher Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: