Configure CDH Spark

This page describes configuring Spark metrics in CM to enable JMX monitoring and Graphite reporting for Spark and Spark2 clients.

Steps for Configuration

  1. In the CM UI, navigate to Service > Configuration tab.
  2. In the search bar, type the below and update the following parameters with values.
  • Spark Client Advanced Configuration Snippet (Safety Valve) → maps to spark-conf/spark-defaults.conf.
  • Spark2 Client Advanced Configuration Snippet (Safety Valve) → maps to spark2-conf/spark-defaults.conf.
Bash
Copy

For details on configuring other details for Spark, see Additional Notes.

Result

Spark jobs will send JVM and application metrics to Graphite, enabling Pulse to collect, visualize, and analyze Spark performance.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard