create-service.md 1.5 KB

Create Service

Back to Resources

Summary

Create the service identified by ":serviceName" in the cluster identified by ":clusterName".

POST /clusters/:clusterName/services/:serviceName

Response

HTTP CODE Description
201 Created
202 Accepted
400 Bad Request
401 Unauthorized
403 Forbidden
500 Internal Server Error

Example

Create the HDFS service.

POST /clusters/c1/services/HDFS

200 OK