java.lang.Object
org.apache.hadoop.yarn.webapp.View
org.apache.hadoop.yarn.webapp.view.TextView
org.apache.hadoop.yarn.webapp.view.HtmlPage
org.apache.hadoop.yarn.webapp.view.TwoColumnLayout
org.apache.hadoop.mapreduce.v2.hs.webapp.HsView
All Implemented Interfaces:
org.apache.hadoop.yarn.webapp.Params
Direct Known Subclasses:
HsAboutPage, HsConfPage, HsCountersPage, HsJobPage, HsLogsPage, HsSingleCounterPage, HsTaskPage, HsTasksPage

public class HsView extends org.apache.hadoop.yarn.webapp.view.TwoColumnLayout
A view that should be used as the base class for all history server pages.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage

    org.apache.hadoop.yarn.webapp.view.HtmlPage.__, org.apache.hadoop.yarn.webapp.view.HtmlPage.Page

    Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View

    org.apache.hadoop.yarn.webapp.View.ViewContext
  • Field Summary

    Fields inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage

    DOCTYPE

    Fields inherited from class org.apache.hadoop.yarn.webapp.View

    LOG

    Fields inherited from interface org.apache.hadoop.yarn.webapp.Params

    ERROR_DETAILS, TITLE, TITLE_LINK, USER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    commonPreHead(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML<org.apache.hadoop.yarn.webapp.view.HtmlPage.__> html)
    The prehead that should be common to all subclasses.
    protected Class<? extends org.apache.hadoop.yarn.webapp.SubView>
     
    protected Class<? extends org.apache.hadoop.yarn.webapp.SubView>
    nav()
     
    protected void
    preHead(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML<org.apache.hadoop.yarn.webapp.view.HtmlPage.__> html)
     
    protected void
    Determine which navigation column is active.

    Methods inherited from class org.apache.hadoop.yarn.webapp.view.TwoColumnLayout

    footer, header, postHead, render, setTableStyles

    Methods inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage

    render

    Methods inherited from class org.apache.hadoop.yarn.webapp.view.TextView

    echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer

    Methods inherited from class org.apache.hadoop.yarn.webapp.View

    $, $, context, cookies, error, getInstance, inDevMode, info, injector, moreParams, outputStream, prefix, render, request, response, root, root_url, set, setTitle, setTitle, status, url

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HsView

      public HsView()
  • Method Details

    • preHead

      protected void preHead(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML<org.apache.hadoop.yarn.webapp.view.HtmlPage.__> html)
      Overrides:
      preHead in class org.apache.hadoop.yarn.webapp.view.TwoColumnLayout
    • commonPreHead

      protected void commonPreHead(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML<org.apache.hadoop.yarn.webapp.view.HtmlPage.__> html)
      The prehead that should be common to all subclasses.
      Parameters:
      html - used to render.
    • setActiveNavColumnForTask

      protected void setActiveNavColumnForTask()
      Determine which navigation column is active.
    • content

      protected Class<? extends org.apache.hadoop.yarn.webapp.SubView> content()
      Overrides:
      content in class org.apache.hadoop.yarn.webapp.view.TwoColumnLayout