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
the job state
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
type of task, valid values are m or r. m for map task or r for reduce task.
David Morel <firstname.lastname@example.org>
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.