Creating a CDSW data connection to a data warehouse

Learn how to connect natively to data stored in a data warehouse when using Data Visualization in Cloudera Data Science Workbench (CDSW).

You must connect to your data prior to using the data modeling and visualization functionalities. The following steps show you how to create a new CDSW data connection to a running Impala system.

When you create a connection, you automatically have privileges to create and manage datasets on this connection, and to build dashboards and visuals in these datasets.

  • For more information on the Manage data connections privilege, see RBAC permissions.
  • For instructions on how to define privileges for a role, see Setting role privileges.
  • For instructions on how to assign the administrator role to a user, see Promoting a user to administrator.
  1. On the main navigation bar, click DATA.

    The DATA interface appears, open on the Datasets tab.

  2. In the Data side menu bar, click NEW CONNECTION.
    The Create New Data Connection modal window appears.
  3. Select a Connection type from the drop-down list.
  4. Provide a name for the connection.
  5. Enter the hostname or IP address of the running coordinator.
    In this example, you can see to create an Impala connection. You can get the coordinator hostname from the JDBC URL of the Impala DW.
  6. Under Port #, enter the port number.
  7. Use your workload username and password as credentials.
  8. Click the Advanced tab and make the appropriate selections.
  9. Click TEST.
    If the connection is valid, the system returns a Connection Verified message.
  10. Click CONNECT.
You have set up a connection to a running data warehouse.