Managing default and backup data connections

As a data scientist, you may want to set default and backup data connections (virtual warehouses). This makes it easy to manage the case where the default data source (virtual warehouse or data lake) becomes unavailable, for example.

You need Administrator privileges to perform this task. Here, the data connection names of default and backup are used as examples.

  1. Select Apps in the left navigation pane on the Anywhere Cloud Console.
  2. Search for the required Cloudera AI Workbench instance.

    Ensure that the status of the instance is Deployed.

  3. Click on the name of the required instance.

    A pane opens displaying the available information for the selected instance.

  4. Click the URL of the selected Cloudera AI Workbench instance.

    The Cloudera AI Workbench home page is displayed.

  5. Select Site Administration > Data connections in the left navigation panel, click Edit to change the name of the default data connection to default.
  6. Change another connection to backup.
  7. In Project Settings, click Sync with Workbench to update the names of the data connections. If two different data connections have the same name, an error occurs during synchronization.
  8. If the default data connection becomes unavailable, the Workbench Administrator can go to the Data Connections tab, and rename the connections.

    For example, after changing default to unavailable, change backup to default. Projects that use library code for their connection to the default data connection will continue to operate, because it is now using the new default connection.