/clusters/{clusterName}/services

Mount Point: /api/v10/clusters/{clusterName}/services

POST

Creates a list of services.

There are typically two service creation strategies:

  1. The caller may choose to set up a new service piecemeal, by first creating the service itself (without any roles or configuration), and then create the roles, and then specify configuration.
  2. Alternatively, the caller can pack all the information in one call, by fully specifying the fields in the com.cloudera.api.model.ApiService object, with
    • service config and role type config, and
    • role to host assignment.
Cluster Version Available Service Types
CDH4 HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER
CDH5 HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER, SQOOP_CLIENT, SENTRY, ACCUMULO16, KMS, SPARK_ON_YARN
As of V6, GET /{clusterName}/serviceTypes should be used to get the service types available to the cluster.

Parameters

name description type default
clusterName (no documentation provided) path

Request Body

element: serviceList

Details of the services to create.

Response Body

element: serviceList

List of created services.

GET

Lists all services registered in the cluster.

Parameters

name description type default
view (no documentation provided) query summary
clusterName (no documentation provided) path

Response Body

element: serviceList

List of services.