Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Automated Exporting of Data Flow Definition/Config

avatar
Contributor

I'd like to have a process for automatically exporting the data flow definition and configuration without needing to go into the CDF UI.

Right now, if I wanted the configuration, I'd click here in the UI:

Screenshot 2024-03-25 at 9.22.18 AM.png

My thought was to use the CDP CLI, but under the df section, there doesn't appear to be a command for this.

Any suggestions?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hello @ipson 

Thanks for using Cloudera Community. 

To the Q, Kindly use "dfworkload" Commands [1]. The concerned Command has the Sub-Command to address the requirement of fetching Definition & Configurations. If any of the requirement isn't met via [1], Kindly Submit a Support Case for us to get the same included in the CLI with the Collaboration of DFX Engineering.

- Smarak

[1] https://cloudera.github.io/cdp-dev-docs/cli-docs/dfworkload/index.html 

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hello @ipson 

Thanks for using Cloudera Community. 

To the Q, Kindly use "dfworkload" Commands [1]. The concerned Command has the Sub-Command to address the requirement of fetching Definition & Configurations. If any of the requirement isn't met via [1], Kindly Submit a Support Case for us to get the same included in the CLI with the Collaboration of DFX Engineering.

- Smarak

[1] https://cloudera.github.io/cdp-dev-docs/cli-docs/dfworkload/index.html 

avatar
Contributor

When I run this command via the cdp cli, it just returns a JSON like this:

```

{

    "archiveName": "[MY_FLOW_NAME].tar.gz"

}

```

I want to get the actual flow definition.