/clusters/{clusterName}/services

Mount Point: /rest/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
CDH3 HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE
CDH4 HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP

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.