NAME

Net::Hadoop::YARN::Roles::AppMasterHistoryServer

VERSION

version 0.203

METHODS

The methods below work the same in Net::Hadoop::YARN::ApplicationMaster and Net::Hadoop::YARN::HistoryServer, to the exception that the App Master ones need an application ID as a first parameter. Methods take arguments in a list ordered according to the endpoint URL mentioned.

jobs

Jobs API

for the appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs

for the history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs

Job API

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}

history: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}

http://<proxy http address:port>/proxy/application_1326232085508_0004/ws/v1/mapreduce/jobs/{jobid}

Job Attempts API

NOTE the documentation gives a wrong address for the appmaster version

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/jobattempts

history server: http://<history server http address:port>/ws/v1/history/jobs/{jobid}/jobattempts

Job Counters API

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/counters

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/counters

Job Conf API

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/conf

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/conf

Tasks API

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks

Task API

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks/{taskid}

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}

Task Counters API

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks/{taskid}/counters

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}/counters

Task Attempts API

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts

Task Attempt API

NOTE: documentation misses the ending s for attempts

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts/{attemptid}

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts/{attemptid}

Task Attempt Counters API

history server: http://<history server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts/{attemptid}/counters

appmaster: http://<proxy http address:port>/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts/{attemptid}/counters

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.