Configure RMI JMX for Hadoop Services in Pulse

This page describes how to enable JMX with Basic Authentication and SSL in Pulse to collect metrics from Hadoop services through secured RMI ports.

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

This section describes how to enable JMX with basic authentication in Pulse to collect metrics from Hadoop services through secured RMI ports.

Create Override File

  1. Create the Override Configuration File (if it doesn't exist): Navigate to your cluster's directory and create an override.yml file if one isn't already present:
Bash
Copy
  1. Configure the override.yml File:
  • Open theoverride.yml file using a text editor:
Bash
Copy
  • Insert the following configurations for the respective services, if they're not already included:

For Hive Metastore

Bash
Copy

For Hive Server

Bash
Copy

For Kafka

Bash
Copy

For Zeppelin

Bash
Copy

For Zookeeper

Bash
Copy

For Kafka Mirror Maker

Bash
Copy

Ranger Admin

Bash
Copy

Ranger User Sync

Bash
Copy

Ranger Tag sync

Bash
Copy

Ranger KMS

Bash
Copy

c. Save your changes to the override.yml file.

d. Apply the new configuration by running the following command:

Bash
Copy

Configuring SSL for JMX RMI Port

This section describes how to enable JMX with SSL in Pulse to collect metrics from Hadoop services through secured RMI ports.

Create Override File

  1. Create the Override Configuration File: If the override.yml file doesn't exist within your cluster's workspace, create it:
Bash
Copy
  1. Configure the override.yml File:

a. Open the override.yml file for editing:

Bash
Copy

b. Add the necessary SSL configuration for each specific service if not already present. Begin with the common configuration applicable to all services:

Common Configuration for All Services

Bash
Copy

For Hive Metastore

Bash
Copy

For Hive Server

Bash
Copy

For Zeppelin

Bash
Copy

#### For Zookeeper

Bash
Copy

#### For Kafka Mirror Maker

Bash
Copy

Kafka

Bash
Copy

Ranger Admin

Bash
Copy

Ranger Tagsync

Bash
Copy

Ranger Usersync

Bash
Copy

Ranger KMS

Bash
Copy

c. Save the changes to the override.yml file.

d. Apply the new SSL configurations by running:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard