start_host_component
Start one Ambari component on a specific host to recover a stopped instance without restarting its service or affecting other hosts. Skips already-started components; returns request details.
Instructions
Starts a specific component on a specific host in the Ambari cluster.
[Tool Role]: Dedicated tool for starting individual host-level components, enabling fine-grained control without affecting other hosts or the overall service.
[Core Functions]:
Start the specified component on the given host
Skip if the component is already in STARTED state
Return request information for progress tracking
[Required Usage Scenarios]:
When a specific host's component is STOPPED but the overall service is STARTED
When users request to start a component on a specific host (e.g., "start DataNode on host-A")
When recovering a single component instance without restarting the entire service
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host_name": "<host_name>",
"component_name": "<component_name>"
},
"name": "start_host_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_name | Yes | Hostname where the component resides (e.g., "hdp-node-01.example.com") | |
| component_name | Yes | Name of the component to start (e.g., "DATANODE", "NODEMANAGER") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |