Setting up the MapR Metrics Database

To use MapR Metrics, set up a MySQL database to log metrics data. The MapR distribution for Apache Hadoop does not include MySQL. Download and install MySQL separately and then perform the configuration steps to enable the MapR Metrics database.

Requirements

  • Enable remote access on the MySQL server. All JobTracker and webserver nodes in the cluster must have access to the MySQL server.
  • Use MySQL version 5.1 or greater.
  • Install the mapr-metrics package on all JobTracker and webserver nodes.

The following sections provide information for setting up the MapR metrics database: