sysadmin

Life in the digital trenches

Hadoop::Admin

GitHub

CPAN

Status

Stable release. This module is not actively maintained. If you wish to use it, please let me know and I’ll get it updated

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.

Description

This Perl 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();