start_host_component
Start a specific component on a specific host in an Ambari cluster. Use for granular recovery without restarting the entire service.
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
Args: host_name: Hostname where the component resides (e.g., "hdp-node-01.example.com") component_name: Name of the component to start (e.g., "DATANODE", "NODEMANAGER")
Returns: Start operation result (success: request info, failure: error message)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_name | Yes | ||
| component_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |