Installing the Metering V2 Service
Learn how to install and configure the Metering V2 service to monetize API calls to Hive Metastore made by your clients.
-
Open Cloudera Manager and open your cluster.
-
Click Action > Add Service.
-
Select Metering V2 in the resulting screen.
-
In the Assign Templates step (the Select
Dependencies step will already be done), click the
Gateway text box and select the nodes with "master"
in their name. Once the hosts have been selected, click the
Continue button.
Figure 1. Role assignment for Light Duty Data Lakes Figure 2. Role assignment for Enterprise Duty Data Lakes - In Review Changes, click Continue.
- The Command Details step will automatically switch to Summary if no problems are detected with the first commands.
-
In Summary, click the Finish.
-
Go to Clusters > Metering V2 > Configuration and fill in the following information:
- DBUS Access Secret Key - The value from the
privateKey
attribute when the DBUS machine user was created. - DBUS Access Secret Key Algorithm - Set it to Ed25519.
- DBUS Access Key ID - The value from the
accessKeyId
attribute when the DBUS machine user was created. - DBUS Host - dbusapi.us-west-1.sigma.altus.cloudera.com
- DBUS Stream - manowar_prod-mow-prod-MeteringV2
- DBUS App Name - manowar_prod-mow-prod-MeteringV2
- DBUS Partition Key - Enter the Tenant ID that was recorded when the DBUS machine user was created.
- Region - Enter the Region that was recorded when the DBUS machine user was created.
- DBUS Access Secret Key - The value from the
- Click Save Changes.
- Click Clusters > Metering V2 > Actions > Restart.