NAME
Net::Hadoop::YARN::HistoryServer
VERSION
version 0.203
NAME
Net::Hadoop::YARN::HistoryServer
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
METHODS
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.
info
History Server Info API
http://<history server http address:port>/ws/v1/history/info
jobs
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
-
user name
- state
-
the job state
- queue
-
queue name
- limit
-
total number of app objects to be returned
- startedTimeBegin
-
jobs with start time beginning with this time, specified in ms since epoch
- startedTimeEnd
-
jobs with start time ending with this time, specified in ms since epoch
- finishedTimeBegin
-
jobs with finish time beginning with this time, specified in ms since epoch
- finishedTimeEnd
-
jobs with finish time ending with this time, specified in ms since epoch
tasks
Tasks API
- type
-
type of task, valid values are m or r. m for map task or r for reduce task.
taskattempt
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.