Integrating with Cloudera Navigator¶
Table of Contents
Introduction¶
Gluent Offload Engine can integrate with Cloudera Navigator via the REST API to provide extra data governance information. This is configured in the Gluent Data Platform environment file.
Mandatory Parameters¶
Parameters that require modification are:
Parameter |
Reference |
---|---|
For example |
|
Username for connecting to the Cloudera Navigator REST API. This user must have any of the Managed and Custom Business Metadata Editor, Policy Editor or Full Administrator roles |
|
Password for |
|
Cloudera Navigator entity id for the Hive source that will register metadata |
The value for CLOUDERA_NAVIGATOR_HIVE_SOURCE_ID
can be determined by taking the identity
value from the output of a curl command like the example below:
$ curl "${DATA_GOVERNANCE_API_URL}/<API-VERSION>/entities?query=((type:SOURCE)AND(sourceType:Hive)AND(clusterName:<CLUSTER-NAME>))" -u username:password -X GET
Where:
<API-VERSION>
is the correct API version, e.g. “v13”. This can be identified using:$ curl "${DATA_GOVERNANCE_API_URL}/version" -X GET
<CLUSTER-NAME>
is the name of the cluster as shown in Cloudera Navigator UI
Note
If multiple entities are listed by the command above then choose the correct source for the Hive service you intend to use.
Optional Parameters¶
There are also configuration parameters that can be used to fine tune data governance metadata. These parameters are:
Parameter |
Reference |
---|---|
Tags to be attached to Hive objects created or modified by Gluent Offload Engine. This will be left as its default in most cases |
|
Tags to be attached to Hive objects created or modified by Gluent Offload Engine. Also available using the |
|
Dynamic properties to be attached to Hive objects created or modified by Gluent Offload Engine. These are referenced using specific identifiers (see |
|
Key/value pairs to be attached to Hive objects created or modified by Gluent Offload Engine. Also available using the |
Environment Verification (Connect) will verify the Cloudera Navigator API configuration.
Important
Any changes made to the Gluent Data Platform environment file (offload.env
) must be propagated across all installations.