Configure RMI JMX for Hadoop Services in Pulse

You can configure RMI JMX in Pulse to collect real-time metrics from Hadoop services.

This configuration enables secure communication and supports basic authentication or SSL. Pulse can then gather JMX data from services such as Hive, Kafka, Ranger, Zeppelin, and Zookeeper.

Before You Begin

  • Passwords must be encrypted: Use the accelo admin encrypt command to encrypt passwords for all JMX configurations.
  • Follow the correct steps based on the authentication method: If the JMX RMI port is protected with Basic Authentication or SSL, use the specific configuration steps provided below.

Configure JMX with Basic Authentication

  1. Create an override file if it does not exist.
Bash
Copy
  1. Open the override.yml file
Bash
Copy
  1. Update the following configurations if they are not already present for the specific service.

Hive Metastore

Bash
Copy

Hive Server

Bash
Copy

Kafka

Bash
Copy

Zeppelin

Bash
Copy

Zookeeper

Bash
Copy

Kafka Mirror Maker

Bash
Copy

Ranger Admin

Bash
Copy

Ranger User Sync

Bash
Copy

Ranger Tag sync

Bash
Copy

Ranger KMS

Bash
Copy
  1. Save the file.
  2. Run the reconfigure cluster command.
Bash
Copy

Configure JMX with SSL

Use the same truststore for all services that expose JMX RMI ports.

If the JMX RMI port has SSL enabled, follow these steps to collect JMX data through the RMI port.

  1. Create an override file if it does not exist.
Bash
Copy
  1. Open the override file.
Bash
Copy
  1. Update the following configurations if they are not already present for the specific service.

Updated the common configuration for all the services.

Bash
Copy

Hive Metastore

Bash
Copy

Hive Server

Bash
Copy

Zeppelin

Bash
Copy

Zookeeper

Bash
Copy

Kafka Mirror Maker

Bash
Copy

Kafka

Bash
Copy

Ranger Admin

Bash
Copy

Ranger Tagsync

Bash
Copy

Ranger Usersync

Bash
Copy

Ranger KMS

Bash
Copy
  1. Save the file.
  2. Run the reconfig cluster command.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard