----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23850/#review48575 -----------------------------------------------------------
Ship it! Ship It! - Jaimin Jetly On July 23, 2014, 12:17 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/23850/ > ----------------------------------------------------------- > > (Updated July 23, 2014, 12:17 p.m.) > > > Review request for Ambari and Jaimin Jetly. > > > Bugs: AMBARI-6555 > https://issues.apache.org/jira/browse/AMBARI-6555 > > > Repository: ambari > > > Description > ------- > > **Case 1: MYSQL_SERVER** > > > > { > "href" : > "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/MYSQL_SERVER?fields=StackServiceComponents/cardinality", > "StackServiceComponents" : { > "cardinality" : "1", > "component_name" : "MYSQL_SERVER", > "service_name" : "HIVE", > "stack_name" : "HDP", > "stack_version" : "2.1" > } > } > > > It's possible to provision a cluster without creating MYSQL_SERVER component > when we choose existing databases. Cardinality field for MYSQL_SERVER should > be [0,1] in interval notation (at the most 1) > > **Case 2: ATS** > > > > { > "href" : > "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.1/services/YARN/components/APP_TIMELINE_SERVER?fields=StackServiceComponents/cardinality", > "StackServiceComponents" : { > "cardinality" : "1", > "component_name" : "APP_TIMELINE_SERVER", > "service_name" : "YARN", > "stack_name" : "HDP", > "stack_version" : "2.1" > } > } > > > It's possible to provision a cluster without creating ATS host component. > Ambari kerberized cluster does not have ATS host component. Cardinality field > for ATS should be [0,1] (at the most 1) > > **Case 3: Hbase Master** > > > > { > "href" : > "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_MASTER?fields=StackServiceComponents/cardinality", > "StackServiceComponents" : { > "cardinality" : "1", > "component_name" : "HBASE_MASTER", > "service_name" : "HBASE", > "stack_name" : "HDP", > "stack_version" : "2.1" > } > } > > > It's possible to provision a cluster with more than 1 HBase Master. Even > Ambari-web client's installer wizard supports provisioning a cluster with > multiple HBase Master host component. > Cardinality field for HBASE_MASTER should be 1+. > > **Case 4: NameNode:** > > > > { > "href" : > "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/NAMENODE?fields=StackServiceComponents/cardinality", > "StackServiceComponents" : { > "cardinality" : "1", > "component_name" : "NAMENODE", > "service_name" : "HDFS", > "stack_name" : "HDP", > "stack_version" : "2.1" > } > } > > > It's possible to provision a cluster with multiple NameNode hostComponent and > Cardinality field for NameNode should be [1,2]. > > **Case 5: ResourceManager:** > We are supporting ResourceManager HA and Cardinality field for ResourceManager > should be [1,2]. > > **Case 6: All Clients:** > cardinality of client component is 0+. Ambari does not support a service with > no client component of a service installed in a cluster. Ambari needs client > component as service check task for every service is executed via service > client. Cardinality of all client components should be **1+** > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/metainfo.xml > 3973035 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/metainfo.xml > cd780b4 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml > 97bcc0a > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/metainfo.xml > d8cb053 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/metainfo.xml > a2c984e > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/PIG/metainfo.xml > 7f2ec7a > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/SQOOP/metainfo.xml > 514c5ea > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/metainfo.xml > cde4299 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/metainfo.xml > 6e3c472 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metainfo.xml > d0e8d86 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml > e920d67 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/metainfo.xml > c6798c8 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/metainfo.xml > 6f09c27 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metainfo.xml > 5735a61 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/metainfo.xml > 93dfc42 > > ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/metainfo.xml > f66d99f > ambari-server/src/main/resources/stacks/HDP/2.1/services/TEZ/metainfo.xml > b232e53 > ambari-server/src/main/resources/stacks/HDP/2.1/services/YARN/metainfo.xml > 65db10d > > Diff: https://reviews.apache.org/r/23850/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
