Installing Chromium or Google Chrome for visual export and dashboard previews in Cloudera Data Visualization
Cloudera Data Visualization relies on Chromium to render and export visual outputs.
- 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.
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.
You can install Google Chrome from the official Google repository by following Google’s installation guide.
After installation, the binary is located at: /usr/bin/google-chrome
If Chromium is
installed at a different location, configure Cloudera Data Visualization to use
that path by setting the CHROMIUM_PATH
environment variable.
-
In Cloudera Manager, go to Clusters and select the Dataviz service.
- Go to the Configuration tab.
-
Search for Dataviz Service Environment Advanced Configuration Snippet (Safety Valve).
-
Switch to View as Text and add the following line.
CHROMIUM_PATH=/path/to/your/custom/headless_shell
-
Save the changes and restart the Dataviz service for the changes to take effect.