You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Scott Creeley (JIRA)" <ji...@apache.org> on 2014/09/03 17:05:51 UTC

[jira] [Commented] (AMBARI-6935) Stacks API should expose service level dependencies

    [ https://issues.apache.org/jira/browse/AMBARI-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119930#comment-14119930 ] 

Scott Creeley commented on AMBARI-6935:
---------------------------------------

[~jaimin] [~srimanth.gunturi]
This is now resolved for 2.1.GlusterFS stack - see AMBARI-7130 ([~erinaboyd] or [~subin11] will commit today).  I added requiredServices overrides in metainfo.xml

> Stacks API should expose service level dependencies
> ---------------------------------------------------
>
>                 Key: AMBARI-6935
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6935
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Blocker
>             Fix For: 1.7.0
>
>
> Currently stack API exposes component level dependencies which does not roll
> up to service level dependency is required for restricting user to install a
> service that cannot work in the absence of a dependent service.
> Currently there is a hard-coded map in the ambari-web code for service
> dependency which restricts this validation functionality to only known
> services of HDP stack.  
> service dependency map:
>     
>     
>     
>     HDP-1: {
>         HDFS: ['MAPREDUCE', ''HBASE', SQOOP'],
>         MAPREDUCE: ['PIG', 'OOZIE', 'HIVE'],
>         ZOOKEEPER: ['HBASE', 'HIVE', 'WEBHCAT'],
>         HIVE: ['HCATALOG','WEBHCAT']
>       },
>       HDP-2: {
>         ZOOKEEPER: ['HDFS', 'HBASE', 'HIVE', 'WEBHCAT', 'STORM']
>         HDFS: ['YARN', 'HBASE', 'FLUME', 'SQOOP'],
>         YARN: [ 'MAPREDUCE2', 'PIG', 'OOZIE', 'HIVE', 'TEZ'],
>         TEZ: ['YARN', 'HIVE'],
>         OOZIE: ['FALCON'], 
>         HIVE: ['HCATALOG','WEBHCAT'] 
>       }
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)