Deploying a CDV application in CML

Learn how to deploy Cloudera Data Visualization (CDV) in Cloudera Machine Learning (CML).

Creating a CML project with CDV Runtime

Learn how to create a Cloudera Machine Learning (CML) project with Cloudera Data Visualization (CDV) Runtime as the default runtime.

If you know that your project is going to be running CDV, you can add the Cloudera Data Visualization Runtime when setting up the project.
  1. Click Projects on the left sidebar of Cloudera Machine Learning data service.
  2. Click New Project.
  3. Enter a project name.
  4. Optional: You can add a description for your project.
  5. Optional: You can also select the visibility of the project.
  6. Under Initial Setup, you can either create a blank project, or select a source for your project files.
  7. Set Cloudera Data Visualization Runtime for your project in the Runtime setup section.
    You can use the Basic view to select the Cloudera Data Visualization Runtime and add all of its Standard Edition ML Runtimes for that kernel. In the Advanced view, you can add ML Runtimes based on more detailed Editor, Kernel, Edition, and Version criteria.
  8. Click Create Project.

After the project is created, you can start creating your application. If you added Cloudera Data Visualization Runtime as the only runtime during project set-up, it will be the only available runtime when creating your application. You can select which edition you want to use for the application.

Adding CDV Runtime to a CML project

Learn how to add Cloudera Data Visualization (CDV) Runtime to an existing Cloudera Machine Learning (CML) project.

You need to add Cloudera Data Visualization Runtime to your project if the workspace of your project is not set to use this CDV Runtime by default.
  1. Click Projects on the left sidebar of Cloudera Machine Learning data service.
  2. Click the project where you want to add Cloudera Data Visualization Runtime.
  3. Open Project Settings from the left navigation bar and click the Runtime/Engine tab.
  4. Click Add Runtime.
    The Add new runtime to project modal window opens.
  5. Select Cloudera Data Visualization from the Kernel drop-down list.
  6. Select the edition of the CDV you want to add to your project.
    The selected edition automatically defines the version of the runtime variant.
  7. Click Submit.
You should now be able to select the Cloudera Data Visualization Runtime when creating a CDV application.
Create a CDV application.

Creating CDV application in CML

Learn how to create a Cloudera Data Visualization (CDV) application in Cloudera Machine Learning (CML) to help you visualize and interact with your data insights. This integration allows for seamless visualization of ML model outputs, data exploration, and reporting within the same platform.

The following steps will guide you on how to create a Cloudera Data Visualization application in a Cloudera Machine Learning project.

Ensure that a CDV Runtime is available the CML project where you want to create the CDV application.

For more information about ML Runtimes, see Managing ML Runtimes and Using Runtime Catalog.

  1. Navigate to the Overview page of your CML project.
  2. On the left sidebar, click Applications.
  3. Click New Application.
  4. Provide the following details for your new application:
    • Name – Enter a name for the application.
    • Subdomain – Enter a subdomain that will be used to construct the URL for the web application. Ensure it only contains URL-friendly characters.
    • Description – Add a description for the application.
    • Script – Select the path to the startup script.
    • Runtime – Configure the Runtime.
      • Editor – Workbench
      • Kernel – Select Cloudera Data Visualization for the kernel supported by the Runtime variant of the CML project.
      • Edition – Select the edition of the Runtime variant you want to use for your application.
  5. Click Create Application.

After a few minutes, the application status will change from Starting to Running on the Applications page. Your CDV application is now fully operational.

You can restart, stop, or delete a CML application from the supplemental menu. If you want to make changes to the application, navigate to Application Details > Settings.

Start Cloudera Data Visualization.