{% comment %} Licensed to Cloudera, Inc. under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Cloudera, Inc. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {% load unix_ms_to_datetime %}

{{clusterstatus.hostname}} Map/Reduce Administration

State: {{clusterstatus.stateAsString}}
Started: {{ clusterstatus.startTime|unix_ms_to_datetime}}
Identifier: {{clusterstatus.identifier}}

Cluster Summary (Heap size is {{clusterstatus.usedMemory|filesizeformat}} / {{clusterstatus.maxMemory|filesizeformat}})

Maps Reduces Total Submissions Nodes Map Task Capacity Reduce Task Capacity Avg. Tasks / Node Blacklisted Nodes Excluded Nodes
{{clusterstatus.mapTasks}} {{clusterstatus.reduceTasks}} {{clusterstatus.totalSubmissions}} {{clusterstatus.numActiveTrackers}} {{clusterstatus.maxMapTasks}} {{clusterstatus.maxReduceTasks}} {{clusterstatus.numBlacklistedTrackers}}

Scheduling Information

{% for q in queues.queues %} {%endfor%}
Queue Name Scheduling Information
{{q.queueName}}

Running Jobs

{% for job in runningjobs %} {% endfor %}
Jobid Priority User Name Map % Complete Map Total Maps Completed Reduce % Complete Reduce Total Reduces Completed Job Scheduling Information
{{job.jobId}} {{job.priority}} {{job.profile.user}} {{job.profile.name}} {{job.finishedMaps}}/{{job.desiredMaps}} {{job.desiredMaps}} {{job.finishedMaps}} {{job.finishedReduces}}/{{job.desiredReduces}} {{job.desiredReduces}} {{job.finishedReduces}}

Completed Jobs

{% for job in completedjobs %} {% endfor %}
Jobid Priority User Name Map % Complete Map Total Maps Completed Reduce % Complete Reduce Total Reduces Completed Job Scheduling Information
{{job.jobId}} {{job.priority}} {{job.profile.user}} {{job.profile.name}} {{job.finishedMaps}}/{{job.desiredMaps}} {{job.desiredMaps}} {{job.finishedMaps}} {{job.finishedReduces}}/{{job.desiredReduces}} {{job.desiredReduces}} {{job.finishedReduces}}

Failed Jobs

{% for job in failedjobs %} {% endfor %}
Jobid Priority User Name Map % Complete Map Total Maps Completed Reduce % Complete Reduce Total Reduces Completed Job Scheduling Information
{{job.jobId}} {{job.priority}} {{job.profile.user}} {{job.profile.name}} {{job.finishedMaps}}/{{job.desiredMaps}} {{job.desiredMaps}} {{job.finishedMaps}} {{job.finishedReduces}}/{{job.desiredReduces}} {{job.desiredReduces}} {{job.finishedReduces}}

Killed Jobs

{% for job in killedjobs %} {% endfor %}
Jobid Priority User Name Map % Complete Map Total Maps Completed Reduce % Complete Reduce Total Reduces Completed Job Scheduling Information
{{job.jobId}} {{job.priority}} {{job.profile.user}} {{job.profile.name}} {{job.finishedMaps}}/{{job.desiredMaps}} {{job.desiredMaps}} {{job.finishedMaps}} {{job.finishedReduces}}/{{job.desiredReduces}} {{job.desiredReduces}} {{job.finishedReduces}}