Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps
version 0.203
use Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps; my $uapps = Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps->new(%opt); my $stats = $uapps->collect( $user_name );
User application stats in the Resource Manager.
Net::Hadoop::YARN::ResourceManager::Scheduler::UserApps - User application stats in the Resource Manager
Available options:
The default rm_object (resouce manager) can be overridden with this option. The object needs to be a subclass of Net::Hadoop::YARN::ResourceManager.
rm_object
Net::Hadoop::YARN::ResourceManager
This method only accepts a user name parameter and it will return back the statistics for that user's applications.
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.
Net::Hadoop::YARN::ResourceManager.
Burak Gursoy <burak@cpan.org>
<burak@cpan.org
David Morel <david.morel@amakuru.net>
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.
To install Net::Hadoop::YARN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Hadoop::YARN
CPAN shell
perl -MCPAN -e shell install Net::Hadoop::YARN
For more information on module installation, please visit the detailed CPAN module installation guide.