Release summary for Cloudera Migration Assistant 2.0.0
Cloudera Migration Assistant on Anywhere Cloud helps you move workloads from Cloudera Base on premises clusters and Cloudera Data Engineering to Anywhere Cloud.
Cloudera Migration Assistant 2.0.0 is a General Availability (GA) release.
Cloudera Migration Assistant overview
Cloudera Migration Assistant registers your source clusters, scans them, and lets you build migration plans from the results. You run a plan as an execution, and you follow its progress in the migration history. For Spark and Airflow workloads, Code Migrator uses an AI model to refactor the code for the target version, and you review the result on a Git branch.
What is in this release
This release includes the following features:
- Single sign-on (SSO) through Anywhere Cloud, with three roles for administrators, migrators, and viewers. See Managed sign-in and roles.
- A separate agent engine, and one-time registration tokens for agents outside the cluster. See Agent engine and one-time registration tokens.
- Migration of Cloudera Data Engineering Spark jobs to Cloudera Data Engineering on Cloudera Data Services 2.0. See Cloudera Data Engineering Spark jobs to Cloudera Data Services 2.0.
- Migration of Cloudera Data Engineering Airflow DAGs to Cloudera Workflow Orchestrator. See Cloudera Data Engineering Airflow DAGs to Cloudera Workflow Orchestrator.
- Code Migrator, which refactors Spark and Airflow code with an AI model. See Code Migrator.
- Telemetry that goes to the observability gateway of the cluster. See Telemetry.
Some features are in Technical Preview or are turned off by default. See Features in Technical Preview.
Requirements
Cloudera Migration Assistant 2.0 runs on an Anywhere Cloud cluster that meets the requirements in Prerequisites for deploying Cloudera Migration Assistant.
For the release summary of the Anywhere Cloud platform, see Release summary in the Anywhere Cloud documentation.
Managed sign-in and roles
You sign in to Cloudera Migration Assistant with your Anywhere Cloud account. Cloudera Migration Assistant has no administrator account of its own, and no password to change.
Anywhere Cloud grants access through three roles: cma-admin, cma-migrator, and cma-viewer. A
user who has no role gets viewer access at most. Only an administrator can see the Registration tab, where you register agents. A migrator can create and run
plans but cannot delete objects.
For the permissions of each role, see Roles and permissions. For a short summary, see Role summary. For the steps to give a role to a user, see Assigning roles to users. To sign in for the first time, see Signing in after deployment.
Agent engine and one-time registration tokens
Cloudera Migration Assistant 2.0 has two engines in the Anywhere Cloud Marketplace: Migration Assistant and Migration Assistant Agent. You can deploy the agent engine on Anywhere Cloud to scan and migrate from clusters that it can reach.
For a Cloudera Base on premises cluster, you install the agent from a parcel, which is separate from the agent engine. An agent outside the Anywhere Cloud cluster registers with a one-time registration token. A token is valid for 1 hour, 24 hours (the default), 3 days, or 7 days. An agent uses an Anywhere Cloud token to authenticate.
You can also register an agent on a Cloudera on cloud Data Lake.
For more information, see Deploying and registering agents, Deploying agents on Anywhere Cloud, Generating registration tokens, and Installing and registering agents on Cloudera Base on premises clusters.
Cloudera Data Engineering Spark jobs to Cloudera Data Services 2.0
You can migrate Spark jobs from Cloudera Data Engineering on cloud or on premises to Cloudera Data Engineering on Cloudera Data Services 2.0 on Anywhere Cloud. Cloudera Migration Assistant detects the Spark version and maps the configuration of each job.
Cloudera Migration Assistant supports Spark 2.4.x, 3.2.x, and 3.3.x as source versions, and Spark 3.5.x and 4.1.x as target versions. It migrates Python jobs, scripts that use a virtual environment, and Java and Scala jobs.
Migration of Spark jobs with their dependencies is in Technical Preview.
Cloudera Data Engineering Airflow DAGs to Cloudera Workflow Orchestrator
You can migrate Airflow DAGs from Cloudera Data Engineering on cloud or on premises to Cloudera Workflow Orchestrator 2.0 on Anywhere Cloud. The output is a branch in a Git repository. The following points apply to this migration:
- Automatic discovery of Cloudera Workflow Orchestrator is in Technical Preview. If automatic discovery does not work, register Cloudera Workflow Orchestrator manually.
- Cloudera Migration Assistant migrates DAG tasks that use the
CDEJobRunOperatoroperator of Cloudera Data Engineering, which Cloudera Workflow Orchestrator does not support. The migrated tasks use one of the following operators:CdeTriggerRunOperator, with anawc_cdeconnectionCdeRunJobOperator, with acloudera_data_engineeringconnection
- When two DAGs in a plan have the same DAG ID, Cloudera Migration Assistant marks them and blocks the execution of the plan until you resolve the conflict.
Code Migrator
Code Migrator uses the configured AI model to refactor Spark and Airflow code for a target version. It writes the result to a new branch in the built-in Git server, and it never opens a pull request or merges. A person must review the changes before using them.
Code Migrator includes the following features:
- The job detail page shows the migration plan and metrics of the job.
- You can cancel a running job, and you can retry a job with feedback.
- The messages of the agent appear in chronological order.
- Code Migrator can search the documentation that runs in the cluster.
- You can import a Git repository into the workspace of the built-in Git server.
- Every commit that Code Migrator creates states that an AI system generated it.
Code Migrator is available when Enable LLM is on in the engine configuration.
Built-in Git server (Gitea)
Cloudera Migration Assistant includes a Git server that stores the output of Code Migrator. It has
two organizations: CMA and CMA-Workspace. The CMA-Workspace organization holds copies of external repositories. The Gitea CMA User
Password field in the engine configuration must have at least 8
characters.
Telemetry
Cloudera Migration Assistant writes its logs to standard output, and Anywhere Cloud writes them to the logs bucket. Cloudera Migration Assistant sends metrics and traces to the observability gateway of the Anywhere Cloud cluster using the OpenTelemetry Protocol (OTLP). Cloudera Migration Assistant does not deploy its own Prometheus server or collector. The platform scrapes the metrics endpoint of the built-in Git server. Metrics of Code Migrator include the number of large language model (LLM) tokens.
For more information, see Telemetry and audit logging.
Telemetry signals and redaction rules
Cloudera Anywhere Cloud collects three signal types from cluster infrastructure and data engines:
- Logs: Standard output collection or push through the cluster-internal OpenTelemetry Protocol (OTLP) endpoint, organized into engine-defined log streams.
- Metrics: Infrastructure and engine metrics pushed over OTLP or scraped from Prometheus-instrumented components where applicable.
- Traces: Distributed trace spans pushed over OTLP by instrumented engines and services.
All three signal types can be sent to a third-party tool through telemetry export. Only engine logs can also be written to storage buckets, organized by the engine's log streams. Metrics, traces, and platform logs are not written to buckets.
Redaction rules are regular expressions that you configure on an engine's Telemetry tab. Text that matches a rule is masked in that engine's logs, metrics, and traces before the data is written to storage or sent to external exporters. Redaction rules apply only to the engine instance they are configured on.
Audit logs are collected and exported separately by the audit service rather than through the telemetry exporter. For details, see Configuring Audit Exporter Settings.
