Installing Chromium for visual export and dashboard previews in Cloudera Data Visualization

Cloudera Data Visualization relies on Chromium to render and export visual outputs.

This enables:
  • Downloading dashboards as PNG or PDF files
  • Displaying thumbnail previews of dashboards

By default Cloudera Data Visualization expects the Chromium binary to be located at: /usr/lib64/chromium-browser/headless_shell

If Chromium is available at this location, no additional configuration is required. If not, you need to install Chromium on the hosts running Cloudera Data Visualization.

Installing Chromium on Red Hat–like systems

Use the following command to install Chromium on RHEL, CentOS, or similar systems: sudo yum install chromium-headless

This installs Chromium at the expected default location used by Cloudera Data Visualization.

Using a custom Chromium path

If Chromium is installed at a different location, configure Cloudera Data Visualization to use that path by setting the CHROMIUM_PATH environment variable.

  1. In Cloudera Manager, go to Clusters and select the Dataviz service.

  2. Go to the Configuration tab.
  3. Search for Dataviz Service Environment Advanced Configuration Snippet (Safety Valve).

  4. Switch to View as Text and add the following line.

    CHROMIUM_PATH=/path/to/your/custom/headless_shell

  5. Save the changes and restart the Dataviz service for the changes to take effect.