Disabling Cloudera Data Flow for an environment
Disabling Cloudera Data Flow for an environment terminates the cloud infrastructure that was created as part of the enablement process.
When you disable Cloudera Data Flow for an environment, you can specify whether to preserve your environment event history. Preserving the event history retains your environment event history and allows you to view past events even after the environment has been disabled. Regardless of whether you choose to preserve the event history, you can enable Cloudera Data Flow for an environment again after a successful disablement operation.
- All deployments and associated flows
- All Projects
- All flow drafts in Flow Designer
- All Shared Parameter Groups
- All uploaded custom NARs
- All uploaded custom Python processors
- Flow Catalog and Catalog Collections
- All flow definitions currently in the Flow Catalog
Disabling Cloudera Data Flow for an environment on the UI
Use the Cloudera Data Flow UI to disable an environment and choose whether to preserve its event history.
Disabling Cloudera Data Flow for an environment terminates the cloud infrastructure that was created during enablement. When you disable the environment, you can choose whether to preserve the environment event history.
The disablement process starts. Disabling Cloudera Data Flow for an environment can take up to 30 minutes.
Disabling Cloudera Data Flow for an environment using the CLI
Use the CDP CLI to disable Cloudera Data Flow for an environment and specify whether to preserve event history.
Disabling Cloudera Data Flow for an environment terminates the cloud infrastructure that was created during enablement. You can preserve the environment event history and enable Cloudera Data Flow for the environment again after disablement completes successfully.
- You have installed the CDP CLI.
- You have run
cdp df list-servicesto obtain theservice-crn.
cdp df disable-service
--service-crn [***SERVICE_CRN***]
[--persist] [--no-persist]
[--terminate-deployments] [--no-terminate-deployments]
[help]
Replace the command options as follows:
service-crnprovides the value you identified by runningcdp df list-services.[--persist]or[--no-persist]specifies whether you want to preserve environment history.[--terminate-deployments]or[--no-terminate-deployments]specifies whether you want to gracefully terminate deployments associated with the environment. Regardless of this setting, all associated deployments are terminated when you disable Cloudera Data Flow.
When the command is accepted, the returned status is similar to the following:
{
"status": {
"state": "DISABLING",
"message": "Disabling DataFlow",
"detailedState": "TERMINATING_DEPLOYMENTS"
}
}
