create-component.md 1.6 KB

Create Component

Back to Resources

Summary

Create the component identified by ":componentName" for for the service identifired by ":serviceName" and the cluster identified by ":clusterName".

POST /clusters/:clusterName/services/:serviceName/components/:componentName

Response

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

Example

Create the NAMENODE component of the HDFS service

POST /clusters/c1/services/HDFS/components/NAMENODE

200 OK