The following types of jobs can be executed in Designer Cloud Powered by Trifacta® Enterprise Edition:
- Transform job: This type of job executes the steps in your recipe against the dataset to generate results in the specified format. When you configure your job, any set of selected output formats causes a transform job to execute according to the job settings.
- Profile job: This type of job builds a visual profile of the generated results. When you configure your job, select Profile Results to generate a profile job.
- Publish job: This job publishes results generated by the platform to a different location or datastore.
- Ingest job: This job manages the import of data from a JDBC source into the default datastore for purposes of running a transform or sampling job.
For more information, see Run Job Page.
Tip: Information on failed plan executions is contained in the
orchestration-service.log file, which can be acquired in the support bundle. For more information, see Support Bundle Contents.
Identify Job Failures
When a job fails to execute, a failure message appears in following locations:
The following is an example from the Jobs page:
In the above example, the Transform and Profile jobs completed, but the Publish job failed. In this case, the results exist and, if the source of the problem is diagnosed, they can be published separately.From the job's context menu, select Download Logs. You can download the jobs logs to look for reasons for the failure. See Review Logs below.
Invalid file paths
When your job uses files as inputs or outputs, you may receive invalid file path errors. Depending on the backend datastore, these can be one of the following:
- Path to the file is invalid for the current user. Path may be been created by another user that had access to the location.
- Path contains invalid characters in it. For more information, see Supported File Formats.
- Resource was deleted.
Jobs that Hang
In some cases, a job may stay in a pending state indefinitely. Typically, these errors are related to a failure of the job tracking service. You can try to the following:
- Resubmit the job.
- Have an administrator restart the platform. See Start and Stop the Platform.
- Submit the job again.
Spark Job Error Messages
The following error messages may appear in the Designer Cloud application when a Spark job fails to execute.
"Aggregate too many columns" error
Your job could not be completed due to one or more Pivot, Window or other Aggregation recipe steps having too many aggregate functions in the
Solution: Please split these aggregates across multiple Aggregation steps.
"Binary sort" error
Sorting a nested column such as an array or map is not supported.
Your job could not be completed due to the complexity of your recipe.
- Look to break up your recipe into sequences of recipes. You can chain recipes together one after another in Flow View.
- If you have complex, multi-dataset operations, you should try to isolate these into smaller recipes.
- Use sampling to checkpoint execution after complex steps.
"Colon in path" error
Your job references one or more invalid file paths. File and folder names cannot contain the colon character.
"Invalid input path" error
Your job references one or more invalid file paths. File names cannot begin with characters like dot or underscore.
"Invalid union" error
Union operations can only be performed on tables with compatible column types.
Tip: Edit the union in question. Verify that the columns are properly aligned and have consistent data types. For more information, see Union Page.
"Job service unreachable" error
There was an error communicating with the Spark Job Service.
Tip: An administrator can review the contents of the
spark-job-service.log file for details. See System Services and Logs.
When you encounter out of memory errors related to job execution, you should review the following general items related to your flow.
- Review your recipes to see if you can identify ways to break them up into smaller recipes.
- Operations such as joins and unions can greatly increase the size of your datasets.
- Resource consumption is also affected by the the complexity of your recipe(s).
If you suspect that there are several jobs running in parallel, you can drop the job launch batch size to
1, which serializes job execution while preserving memory. For more information, see Configure Application Limits.
- You might be able to configure overrides to the Spark settings to allocate more memory for job execution.
"Path not found during execution" error
One or more datasources referenced by your job no longer exist.
Tip: Review your flow and all of its upstream dependencies to locate the broken datasource. Reference errors for upstream dependencies may be visible in downstream recipes.
"Too many columns" error
Your job could not be completed due to one or more datasets containing a large number of columns.
Tip: A general rule of thumb is to avoid over 1000 columns in your dataset. Depending on your environment, you may experience performance issues and job failures on narrower datasets.
"Version mismatch" error
The version of Spark installed on your Hadoop cluster does not match the version of Spark that Designer Cloud Powered by Trifacta Enterprise Edition is configured to use.
Tip: For more information on the appropriate version to configure for the product, see Configure for Spark.
Databricks Job Errors
The following error messages are specific to Spark errors encountered when running jobs on Databricks.
NOTE: When a Databricks job fails, the failure is immediately reported in the Designer Cloud application . Collection of the job log files from Databricks occurs afterward in the background.
Tip: A platform administrator may be able to download additional logs for help in diagnosing job errors.
"Runtime cluster" error
There was an error running your job.
"Staging cluster" error
There was an error launching your job.
Try Other Job Options
You can try to re-execute the job using different options.
- Look to cut data volume. Some job failures occur due to high data volumes. For jobs that execute across a large dataset, you can re-examine your data to remove unneeded rows and columns of data. Use the Deduplicate transformation to remove duplicate rows. See Remove Data.
- Gather a new sample. In some cases, jobs can fail when run at scale because the sample displayed in the Transformer page did not include problematic data. If you have modified the number of rows or columns in your dataset, you can generate a new sample, which might illuminate the problematic data. However, gathering a new sample may fail as well, which can indicate a broader problem. See Samples Panel.
- Change the running environment. If the job failed on Trifacta Photon, try executing it on another running environment.
Tip: The Trifacta Photon running environment is not suitable for jobs on large datasets. You should accept the running environment recommended in the Run Job page.
In the listing for the job on the Jobs page, click Download Logs to send the job-related logs to your local desktop.
NOTE: If encryption has been enabled for log downloads, you must be an administrator to see a clear-text version of the jobs listed below. For more information, see Configure Support Bundling.
When you unzip the ZIP file, you should see a numbered folder with the internal identifier for your job on it. If you executed a transform job and a profile job, the ZIP contains two numbered folders with the lower number representing the transform job.
job.log. Review this log file for information on how the job was handled by the application.
Tip: Search this log file for
Support bundle: If support bundling has been enabled in your environment, the
support-bundle folder contains a set of configuration and log files that can be useful for debugging job failures.
Tip: Please include this bundle with any request for assistance to Alteryx Support.
For more information on configuring the support bundle, see Configure Support Bundling.
For more information on the bundle contents, see Support Bundle Contents.
For support use, the most meaningful logs and configuration files can be downloaded from the application. Select Help menu > Download logs.
NOTE: If you are submitting an issue to Alteryx Support, please download these files through the application.
For more information, see Download Logs Dialog.
The admin version of this dialog enables downloading logs by timeframe, job ID, or session ID. For more information, see Admin Download Logs Dialog.
Trifacta node logs
NOTE: You must be an administrator to access these logs. These logs are included when an administrator downloads logs for a failed job. See above.
On the Trifacta node, these logs are located in the following directory:
This directory contains the following logs:
batch-job-runner.log. This log contains vital information about the state of any launched jobs.
Issues related to jobs running locally on the Trifacta Photon running environment can appear here.
webapp.log. This log monitors interactions with the web application.
In addition to these logs, you can also use the Hadoop job logs to troubleshoot job failures.
- You can find the Hadoop job logs at port 50070 or 50030 on the node where the ResourceManager is installed.
- The Hadoop job logs contain important information about any Hadoop-specific errors that may have occurred at a lower level than the Designer Cloud application , such as JDK issues or container launch failures.
If you are unable to diagnose your job failure, please contact Alteryx Support.
NOTE: When you contact support about a job failure, please be sure to download and include the entire zip file, your recipe, and (if possible) your dataset.
This page has no comments.