Hadoop::Admin

Perl module for monitoring Hadoop clusters

Status

Stable release.

This has been tested with Apache Hadoop 0.20.205.x and 0.23.0. Should work with 1.x and 2.x as well. Untested on those versions.

Todos:

  • Improve code coverage in automated tests.

Description

This module uses the JMX Proxy Servlet to access mbean data from a Hadoop cluster. It is focused on monitoring.

use Hadoop::Admin; 

my $cluster=Hadoop::Admin->new({
  'namenode'          => 'namenode.host.name',
  'jobtracker'        => 'jobtracker.host.name',
});

print $cluster->datanode_live_list();