Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations on Dataiku resources. Specifically, for the Job resource and the Abort Job operation, it allows users to request the abortion of a running job within a specified project. This is useful in scenarios where a job is no longer needed, is stuck, or needs to be stopped due to errors or changed requirements.

Practical examples:

  • Stopping a long-running data processing job that was started by mistake.
  • Aborting a job that is consuming excessive resources.
  • Programmatically managing job lifecycle in automated workflows.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku project containing the job.
Job ID The identifier of the job to abort within the specified project.

Output

The output JSON contains the response from the Dataiku DSS API after attempting to abort the job. Typically, this will include confirmation of the abort request or error details if the abort failed.

The node does not output binary data for this operation.

Example output JSON structure (conceptual):

{
  "status": "aborted",
  "jobId": "12345",
  "message": "Job abort requested successfully"
}

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs an API authentication token credential for Dataiku DSS with sufficient permissions to manage jobs.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API key or server URL is not set, the node will throw an error indicating missing credentials. Ensure the Dataiku DSS API credentials are properly configured.
  • Project Key or Job ID Missing: The node requires both the project key and job ID to be provided. Omitting either will cause an error.
  • API Request Failures: Network issues, invalid job IDs, or insufficient permissions can cause the API call to fail. Check the error message returned by the node for details.
  • Job Not Found or Already Completed: Attempting to abort a non-existent or already finished job may result in an error or no effect.

Links and References

Discussion