Skip to content

Files

Latest commit

 

History

History

hbase_master

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hbase_master Integration

Overview

Get metrics from Hbase_master service in real time to:

  • Visualize and monitor Hbase_master states.
  • Be notified about Hbase_master failovers and events.

Setup

The Hbase_master check is not included in the Datadog Agent package, so you need to install it.

Installation

For Agent v7.21+ / v6.21+, follow the instructions below to install the Hbase_master check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.

  1. Run the following command to install the Agent integration:

    datadog-agent integration install -t datadog-hbase_master==<INTEGRATION_VERSION>
  2. Configure your integration similar to core integrations.

Configuration

  1. Edit the hbase_master.d/conf.yaml file in the conf.d/ folder at the root of your Agent's configuration directory to start collecting your Hbase_master metrics. See the sample hbase_master.d/conf.yaml for all available configuration options.

    NOTE: If using Agent 6, be sure to modify the hbase_master.d/metrics.yaml file and wrap boolean keys in quotes.

      - include:
          domain: Hadoop
          bean:
            - Hadoop:service=HBase,name=Master,sub=Server
          attribute:
            # Is Active Master
            tag.isActiveMaster:
               metric_type: gauge
               alias: hbase.master.server.tag.is_active_master
               values: {"true": 1, "false": 0, default: 0}
  2. Restart the Agent

Log collection

  1. Collecting logs is disabled by default in the Datadog Agent, you need to enable it in datadog.yaml:

    logs_enabled: true
  2. Add this configuration block to your hbase_master.d/conf.yaml file to start collecting your Hbase_master Logs:

    logs:
      - type: file
        path: /path/to/my/directory/file.log
        source: hbase

    Change the path parameter value and configure it for your environment. See the sample hbase_master.d/conf.yaml for all available configuration options.

  3. Restart the Agent.

Validation

Run the Agent's status subcommand and look for hbase_master under the Checks section.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this check.

Events

The Hbase_master check does not include any events.

Service Checks

The Hbase_master check does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.