After you have registered your Google Cloud environment with Cloudera Data Platform with the Enable Ranger
authorization for Google Cloud Storage (GS) option enabled, created a CDP Data Hub cluster, created the required
Ranger policies, and granted access to your users, you can enable the GS File Browser using
Cloudera Manager.
-
Log in to the Cloudera Data Platform
web interface as an Administrator.
-
Go to , select your environment and go to the Data
Lake tab.
-
Click on the link under CM URL to open Cloudera Manager.
-
Go to and note the value of the
fs.s3a.ext.raz.rest.host.url
property from the
core-site.xml
file. You need this to specify the value of
the api_url
property in the Hue configuration.
-
Go to and add the following lines:
[desktop]
app_blacklist=spark,zookeeper,hbase,impala,search,sqoop,security,pig
[[raz]]
is_enabled=true
is_raz_gs_enabled=true
api_url=[***fs.s3a.ext.raz.rest.host.url***]
[filebrowser]
remote_storage_home=gs://[***GS-BUCKET-NAME***]/user
(RAZ-HA) You can specify a comma-separated list of URLs in the
api_url
property. For
example:
api_url=https://[***INSTANCE-1***]:6082/,https://[***INSTANCE-2***]:6082/
-
Click Save Changes.
-
Restart the Hue service.
GS File Browser icon is added to the left assist panel on the Hue web interface.
When you click the GS File Browser icon, you are redirected to your user home
directory.