To deploy Hue at the environment level, you can create any number of Hue instances.
Each Hue instance has its own database. The Hue instances deployed at the environment level
do not share query history or saved queries.
Log in to the Cloudera Data Warehouse
service as a DWAdmin
Click the Shared Hue Service option from the left
navigation pane of the Cloudera Data Warehouse UI.
Create a shared Hue instance by clicking ADD NEW on the
Shared Hue Service page. The Create Shared
Hue Service modal is displayed.
Specify a name for your Hue instance and select an environment from the
drop-down menu.
Select a size for the shared Hue instance from the
Size drop-down menu. This indicates the
number of Hue backend pods you want to create.
Select one of the following options from the Select the Hue
database initialization strategy drop-down menu to
initialize a database for this Hue instance.
Reuse if Hue data is present: Select this option to
use an existing Hue database for your new shared Hue
instance.
Copy Virtual Warehouse database: Select this option to copy the
contents of the Hue database within a Database Catalog into the
shared Hue service database. This helps you to copy the shared
queries and query history.
Flush the current database content: Select this option to create
a new database for the shared Hue instance. Select this option
to recreate a shared Hue service instance with the same name but
a fresh database. The existing database linked to the Hue
instance is dropped. You can optionally specify user groups and
tags in the same way you specify while creating a Virtual
Warehouse for fine-grained access control.
Click Create.
A new shared Hue service instance is created.
Click Editor to open Hue. You can select the Virtual
Warehouse you want to use from the Virtual Warehouse
drop-down menu on the Hue web interface.