ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Jackson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20560) Need mechanism to require one or more of a set of services as required in metainfo.xml file.
Date Fri, 24 Mar 2017 16:47:41 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher Jackson updated AMBARI-20560:
-----------------------------------------
    Description: 
It appears that HDP 2.6 (and HDP 2.5 as 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:
{code}
<requiredServices>
  <service>SPARK</service>
  <service>SPARK2</service>
</requiredServices>
{code}

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.

  was:
It appears that HDP 2.6 will support 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:
{code}
<requiredServices>
  <service>SPARK</service>
  <service>SPARK2</service>
</requiredServices>
{code}

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.


> Need mechanism to require one or more of a set of services as required in metainfo.xml
file. 
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20560
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20560
>             Project: Ambari
>          Issue Type: Story
>            Reporter: Christopher Jackson
>
> It appears that HDP 2.6 (and HDP 2.5 as 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:
> {code}
> <requiredServices>
>   <service>SPARK</service>
>   <service>SPARK2</service>
> </requiredServices>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message