Turning features on and off

Feature flags turn optional Cloudera Migration Assistant features on and off. All of them are off by default. An administrator changes them on the Feature Flags tab of the Settings page, and the change takes effect without a restart.

The following flags are available:

Table 1. Feature flags
Feature Key Default What is displayed when it is on
CWO auto-discovery cma.cwo-auto-discovery-enabled Off Cloudera Migration Assistant discovers Cloudera Workflow Orchestrator services automatically. This feature is in Technical Preview. If automatic discovery does not work, register Cloudera Workflow Orchestrator manually. See Features in Technical Preview.

Code Migrator has no flag that you can change. Anywhere Cloud turns on Code Migrator when Enable LLM is on in the engine configuration of the Cloudera Migration Assistant engine. When Enable LLM is off, Code Migrator is not deployed, and the Code Migrator item is not displayed in the navigation pane. The Code Migrator item opens the Refactor page.

The Settings > Feature Flags tab lists the flags that you can change while Cloudera Migration Assistant runs. It has the following elements:

Table 2. Elements of the Feature Flags tab
Element Description
All and CMA Core Filter the list by scope. CMA Core displays the flags of Cloudera Migration Assistant itself.
Key The key of the flag, and a description of what it does.
Default The value of the flag when nobody has changed it.
Effective Value A switch that displays Enabled or Disabled. When you click it, Cloudera Migration Assistant saves the change immediately.
Last Updated By The user who last changed the flag.
Actions Reset to default, which removes your change and returns the flag to its default value. It is displayed only for a flag that was changed.

If Cloudera Migration Assistant cannot save a change, the page displays the message Failed to update feature flag: followed by the reason.

You have the cma-admin role. See Roles and permissions.

  1. In the Cloudera Migration Assistant web interface, go to Settings > Feature Flags.
  2. Find the flag of the feature in the Key column.
  3. Click the switch in the Effective Value column.
    Cloudera Migration Assistant saves the change immediately, and the switch displays Enabled or Disabled.
  4. Optional: To return a flag to its default value, click Reset to default in the Actions column.
The change takes effect without a restart. Cloudera Migration Assistant saves the value in its database, so the value stays after a restart or an upgrade. The agents receive the new value within a few seconds. Users who already have the web interface open see the change after they reload the page.