Scoping refactors with workload dependency tree

Use the workload dependency tree to choose which workloads a refactor covers. The tree displays how your jobs and DAGs depend on each other, on their resources, and on their data and metadata, so that you refactor related workloads together.

The dependency tree connects each workload with the following:

  • The workloads that it runs or that run it, such as the Spark jobs that an Airflow DAG starts.
  • Its resources in Git and in Cloudera Data Engineering, so that you can see whether they match.
  • The data and metadata that it reads and writes.
  • The source Cloudera Data Engineering service is scanned. See Scanning clusters.
  • You have a workload plan for the workloads. See Creating migration plans.
  • You have the cma-migrator or cma-admin role.
  1. On the Plans page, open the plan.
  2. Open the dependency tree of the workloads in the plan.
  3. Select a workload.
    The tree displays the workloads, resources, and data that the workload depends on, and the workloads that depend on it.
  4. Select the workloads to refactor together.
  5. Add the selected workloads to a collection.
  6. Run the plan.
    See Running plan executions.
The execution refactors the selected workloads together, so that a workload and the workloads that it depends on move to the target version at the same time. Review the changes before you complete the review step. See Approving code changes in plan executions.