Class WebPageUtils
java.lang.Object
org.apache.hadoop.yarn.server.webapp.WebPageUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.UL<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.DIV<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet>>appendToolSection(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.DIV<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet> section, org.apache.hadoop.conf.Configuration conf) Creates the tool section after a closed section.static Stringstatic StringappsTableInit(boolean isResourceManager) static StringappsTableInit(boolean isFairSchedulerPage, boolean isResourceManager) static Stringstatic Stringstatic String
-
Constructor Details
-
WebPageUtils
public WebPageUtils()
-
-
Method Details
-
appsTableInit
-
appsTableInit
-
appsTableInit
-
attemptsTableInit
-
containersTableInit
-
resourceRequestsTableInit
-
appendToolSection
public static org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.UL<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.DIV<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet>> appendToolSection(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.DIV<org.apache.hadoop.yarn.webapp.hamlet2.Hamlet> section, org.apache.hadoop.conf.Configuration conf) Creates the tool section after a closed section. If it is not enabled, the section is created without any links.- Parameters:
section- a closed HTML div sectionconf- configuration object- Returns:
- the tool section, if it is enabled, null otherwise
-