[ https://issues.apache.org/jira/browse/AMBARI-23215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapan Shridhar updated AMBARI-23215: ------------------------------------- Description: {code} POST /api/v1/clusters/c1/hosts/ { "RequestInfo": { "query": "Hosts/host_name.in(Host1,Host2)" }, "Body": { "host_components": [ "HostRoles": { "component_name": "ZOOKEEPER_SERVER", "component_type": "ZOOKEEPER_SERVER", "service_group_name": "dev", "service_name": "ZOOKEEPER_dev" }, { "HostRoles": { "component_name": "ZOOKEEPER_CLIENT_dev", "component_type": "ZOOKEEPER_CLIENT", "service_group_name": "dev", "service_name": "ZOOKEEPER_CLIENTS_dev" } } ] } } {code} - With advent of Mpacks, we have separated the *CLIENT* components from *SERVER* counterparts and will be separate services itself. -- For example: *ZOOKEEPER_CLIENT* will be a separate service having category *CLIENT* and *ZOOKEEPER_SERVER* will be a separate service having category *MASTER*. (Similarly, for others like HDFS_CLEINT and so on.) - As there are no Service Checks explicitly defined for the CLIENT Services, we need to update the code to skip running any SC calls for them. [~dsen] Thanks for the pointers. CC [~jluniya] | [~mradhakrishnan] was: {code} POST /api/v1/clusters/c1/hosts/ { "RequestInfo": { "query": "Hosts/host_name.in(Host1,Host2)" }, "Body": { "host_components": ["HostRoles": { "component_name": "ZOOKEEPER_SERVER", "component_type": "ZOOKEEPER_SERVER", "service_group_name": "dev", "service_name": "ZOOKEEPER_dev" }, { "HostRoles": { "component_name": "ZOOKEEPER_CLIENT_dev", "component_type": "ZOOKEEPER_CLIENT", "service_group_name": "dev", "service_name": "ZOOKEEPER_CLIENTS_dev" } } ] } } {code} - With advent of Mpacks, we have separated the *CLIENT* components from *SERVER* counterparts and will be separate services itself. -- For example: *ZOOKEEPER_CLIENT* will be a separate service having category *CLIENT* and *ZOOKEEPER_SERVER* will be a separate service having category *MASTER*. (Similarly, for others like HDFS_CLEINT and so on.) - As there are no Service Checks explicitly defined for the CLIENT Services, we need to update the code to skip running any SC calls for them. [~dsen] Thanks for the pointers. CC [~jluniya] | [~mradhakrishnan] > Update logic to skip "*_CLIENT" services Service Checks (SC), as there is no > SC defined for them. > -------------------------------------------------------------------------------------------------- > > Key: AMBARI-23215 > URL: https://issues.apache.org/jira/browse/AMBARI-23215 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Swapan Shridhar > Assignee: Swapan Shridhar > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > {code} > POST /api/v1/clusters/c1/hosts/ > { > "RequestInfo": { > "query": "Hosts/host_name.in(Host1,Host2)" > }, > "Body": { > "host_components": [ > "HostRoles": { > "component_name": "ZOOKEEPER_SERVER", > "component_type": "ZOOKEEPER_SERVER", > "service_group_name": "dev", > "service_name": "ZOOKEEPER_dev" > }, > { > "HostRoles": { > "component_name": "ZOOKEEPER_CLIENT_dev", > "component_type": "ZOOKEEPER_CLIENT", > "service_group_name": "dev", > "service_name": "ZOOKEEPER_CLIENTS_dev" > } > } > ] > } > } > {code} > - With advent of Mpacks, we have separated the *CLIENT* components from > *SERVER* counterparts and will be separate services itself. > -- For example: *ZOOKEEPER_CLIENT* will be a separate service having > category *CLIENT* and *ZOOKEEPER_SERVER* will be a separate service having > category *MASTER*. (Similarly, for others like HDFS_CLEINT and so on.) > - As there are no Service Checks explicitly defined for the CLIENT Services, > we need to update the code to skip running any SC calls for them. > [~dsen] Thanks for the pointers. > CC [~jluniya] | [~mradhakrishnan] -- This message was sent by Atlassian JIRA (v7.6.3#76005)