Manage Pulse Cluster using APIs

This page describes API details for managing and scaling Pulse services and components. It includes operations such as restarting services, managing shards, indexing databases, and processing FSImage data.

Restart Pulse Services

This API endpoint restarts the specified Pulse services without applying any configuration changes. It restarts only the services that are already deployed and uses the configuration defined in the annotations of the Custom Resource (CR).

Accepted Inputs: A list of services that can be restarted.

  • Core Connectors
  • SparkStats
  • Kafka Connector
  • FS Analytics v2
  • Ozone Connector
  • Oozie Connector
  • Impala Connector
  • Druid Analyzer
  • LDAP
  • SQL Analyser
  • Trino Connector
  • GraphQL
  • Streaming
  • Hydra
  • Dashplot
  • Dashplot-UI
  • Notifications
  • Alerts
  • Pulse-UI
  • Actions
Bash
Copy
Bash
Copy

Remove Pulse Add-On Services

This API endpoint removes specified add-ons from the Pulse cluster. It deletes the corresponding pods, deployments, or stateful sets, and clears the related annotations for the selected service.

Accepted Inputs: A list of add-on services can be removed.

  • SparkStats
  • Kafka Connector
  • FS Analytics v2
  • Ozone Connector
  • Oozie Connector
  • Impala Connector
  • Druid Analyzer
  • LDAP
  • SQL Analyser
  • Trino Connector
Bash
Copy
Bash
Copy

Refresh Core

This API endpoint refreshes the configuration of core services and restarts all of them.

Affected Services:

  • GraphQL
  • Streaming
  • Hydra
  • Dashplot
  • Dashplot-UI
  • Notifications
  • Alerts
  • Pulse-UI
  • Actions
Bash
Copy
Bash
Copy

Scale Factor

This API endpoint updates the scale factor for scalability-related services.

Affected services:

  • Core Connectors
  • Alerts
  • Streaming
  • SparkStats
  • Impala Connector

Input:

Bash
Copy
Bash
Copy

Shard Count

This API endpoint updates the shard count for scalability-related services.

Affected services:

  • Core Connectors
  • Alerts
  • Streaming
  • SparkStats
  • Impala Connector

Input:

Bash
Copy
Bash
Copy

Index Databases

Use the following command to index the databases.

Bash
Copy

Reload Events

This operation reloads event configurations for Pulse services without requiring a full restart.

Bash
Copy

Init Sharding

This command initializes sharding for the supported Pulse services. It should be used during the initial setup or when resetting shard configurations.

Bash
Copy

FSImage Load Command

This command loads the FSImage data into the system.

Bash
Copy

FSImage Process Command

This command processes the loaded FSImage data for analysis.

Bash
Copy

FSImage Reports Command

This command generates reports based on the processed FSImage data.

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