Summary
Create the host component named ":componentName" on the host named ":hostName".
POST clusters/:clusterName/hosts/:hostName/host_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 host component on the host named "h1".
POST clusters/c1/hosts/h1/host_components/NAMENODE
201 Created