Net::Hadoop::YARN::HistoryServer
version 0.203
Implementation of the REST API described in http://hadoop.apache.org/docs/r2.5.1/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/HistoryServerRest.html#Job_API
Most of the methods are described in Net::Hadoop::YARN::Roles::AppMasterHistoryServer as both the Application Master and History Server implement them. Please refer to the role for a full list and arguments.
History Server Info API
http://<history server http address:port>/ws/v1/history/info
History Server jobs API - get a listing of finished jobs
An optional hashref can be passed to the method in order to restrict the search
user name
the job state
queue name
total number of app objects to be returned
jobs with start time beginning with this time, specified in ms since epoch
jobs with start time ending with this time, specified in ms since epoch
jobs with finish time beginning with this time, specified in ms since epoch
jobs with finish time ending with this time, specified in ms since epoch
Tasks API
type of task, valid values are m or r. m for map task or r for reduce task.
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.