NAME

Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps

VERSION

version 0.203

SYNOPSIS

    use Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps;
    my $uapps = Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps->new(%opt);
    my $stats = $uapps->collect( $user_name );

DESCRIPTION

User application stats in the Resource Manager.

NAME

Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps - User application stats in the Resource Manager

METHODS

new

Available options:

rm_object

The default rm_object (resouce manager) can be overridden with this option. The object needs to be a subclass of Net::Hadoop::YARN::ResourceManager.

collect

This method only accepts a user name parameter and it will return back the statistics for that user's applications.

format_bytes

This will return the byte-size as a string representation in gigabytes with a simple division. You may want yo subclass to override if you need a more fine grained output.

SEE ALSO

Net::Hadoop::YARN::ResourceManager.

AUTHOR

Burak Gursoy <burak@cpan.org>

AUTHOR

David Morel <david.morel@amakuru.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by David Morel & Booking.com.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.