hue_upload_file
Upload local files to HDFS for storage and processing in Hadoop environments. Specify the local file path and HDFS destination directory to transfer data.
Instructions
Upload a local file to HDFS.
Args:
local_file_path: Path to the local file to upload
hdfs_destination: Destination directory in HDFS
Returns:
OperationResult indicating success
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": {
"local_file_path": "<local_file_path>",
"hdfs_destination": "<hdfs_destination>"
},
"name": "hue_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_file_path | Yes | ||
| hdfs_destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relevant path for the operation | |
| message | Yes | Status message | |
| success | Yes | Whether the operation succeeded |