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.

  1. Open Cloudera Manager and open your cluster.
  2. Click Action > Add Service.
  3. Select Metering V2 in the resulting screen.
  4. 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
  5. In Review Changes, click Continue.
  6. The Command Details step will automatically switch to Summary if no problems are detected with the first commands.
  7. In Summary, click the Finish.
  8. 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.
  9. Click Save Changes.
  10. Click Clusters > Metering V2 > Actions > Restart.