Configure the Java Options for Services Using JMX Agent in CDP

You can update the Java options for the services through the CDP UI.

Below are detailed, service-wise details for all services supported by the JMX agent.

Kafka

Ensure to update the CDP Kafka with JMX settings before proceeding. For details, see Configure CDP Kafka and Zookeeper.

If Kafka Connect is NOT enabled:

  1. In the CM UI, navigate to Kafka > Configuration.
  2. Search for Additional Broker Java Options (broker_java_opts).
  3. Add the following line at the end:
Bash
Copy

If Kafka Connect is enabled:

Add the following snippet at the end of the kafka-env template:

Bash
Copy

Hive Metastore

Ensure to update the CDP Hive Metastore and Hive Server with JMX settings before proceeding. For details, see Configure CDP Hive and Tez.

  1. In the CM UI, navigate to Hive > Java Configuration Options.
  2. Update the property with the following values.
Bash
Copy

Hive Server

  1. In the CM UI, navigate to Tez > Java Configuration Options.
  2. Update the property with the following values.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard