Actions42
- Genie Actions
- Databricks SQL Actions
- Unity Catalog Actions
- Model Serving Actions
- Files Actions
- Vector Search Actions
Overview
The "Delete Volume" operation in the Unity Catalog resource of this Databricks node allows users to delete a specific volume within a chosen catalog and schema in their Databricks workspace. This is useful for managing storage resources by removing volumes that are no longer needed, helping maintain an organized and cost-effective data environment.
Practical scenarios include:
- Cleaning up unused or obsolete data volumes to free up storage.
- Automating volume lifecycle management as part of data governance workflows.
- Integrating volume deletion into larger ETL or data pipeline processes where temporary volumes are created and later removed.
Properties
| Name | Meaning |
|---|---|
| Catalog | Select a Unity Catalog to work with. The list is automatically populated from your Databricks workspace. |
| Schema | Select a schema from the chosen catalog. |
| Volume | Select a volume from the chosen catalog and schema. |
Output
The output JSON structure typically contains the response from the Databricks API after attempting to delete the specified volume. It will indicate success or failure of the deletion operation. The exact fields depend on the API response but generally include confirmation of the action or error details if the deletion failed.
This node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Databricks API.
- Needs proper configuration of the Databricks host URL and authentication token in the node credentials.
- The node relies on the Databricks Unity Catalog API endpoints to fetch catalogs, schemas, and volumes dynamically for selection.
Troubleshooting
Common Issues:
- Attempting to delete a volume that does not exist or is already deleted.
- Insufficient permissions to delete volumes in the selected catalog/schema.
- Network connectivity issues preventing API calls to Databricks.
Error Messages:
API Error: <status> <statusText>: Indicates the API returned an error status. Check the detailed message for specifics such as permission denied or resource not found.Network Error: No response received from server: Suggests network problems or incorrect host configuration.- Other errors may be related to invalid parameters or missing required inputs.
Resolutions:
- Verify that the catalog, schema, and volume names are correct and exist.
- Ensure the API key has sufficient privileges to perform deletions.
- Confirm network access to the Databricks instance and correct host URL.
- Use the node's "Continue On Fail" option to handle errors gracefully in workflows.