Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to manage long-running tasks among many other resources. Specifically, for the "Long Task" resource and the "Abort Task" operation, it allows users to abort (delete) a running long task by specifying its Job ID. This is useful in scenarios where a long-running process needs to be stopped prematurely, such as cancelling a data processing job or halting an automation that is no longer needed.

Practical example: If you have started a lengthy data transformation task in Dataiku DSS and realize it should not continue (due to incorrect parameters or changed requirements), you can use this node operation to abort that task by providing its Job ID.

Properties

Name Meaning
Job ID The identifier of the long-running task (job) to abort. Required for aborting a task.

Output

The output of this operation is the JSON response from the Dataiku DSS API after attempting to abort the specified long task. It typically contains confirmation of the deletion or relevant status information.

If the operation involves downloading files (not applicable here), binary data would be returned, but for aborting a long task, the output is JSON.

Example output JSON structure might look like:

{
  "status": "success",
  "message": "Task aborted"
}

or an error message if the abort fails.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key credential) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials: The node will throw an error if the required API credentials are not provided.
  • Missing Job ID: If the Job ID is not specified when attempting to abort a task, the node throws an error indicating the Job ID is required.
  • API Errors: If the Dataiku DSS API returns an error (e.g., task not found, permission denied), the node will throw an error with the message from the API. Check that the Job ID is correct and that the API key has sufficient permissions.
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures. Ensure the server URL is reachable and the network allows API calls.

Links and References


This summary focuses on the "Long Task" resource and the "Abort Task" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion