@Private
public final class LogAggregationWebUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static long |
getLogEndIndex(HtmlBlock.Block html,
java.lang.String endStr) |
Parse end index from html.
|
static long |
getLogEndTime(java.lang.String endStr) |
Parse log end time from html.
|
static long |
getLogStartIndex(HtmlBlock.Block html,
java.lang.String startStr) |
Parse start index from html.
|
static long |
getLogStartTime(java.lang.String startStr) |
Parse log start time from html.
|
static java.lang.String |
verifyAndGetAppOwner(HtmlBlock.Block html,
java.lang.String appOwner) |
Verify and parse the application owner.
|
static org.apache.hadoop.yarn.api.records.ContainerId |
verifyAndGetContainerId(HtmlBlock.Block html,
java.lang.String containerIdStr) |
Verify and parse containerId.
|
static org.apache.hadoop.yarn.api.records.NodeId |
verifyAndGetNodeId(HtmlBlock.Block html,
java.lang.String nodeIdStr) |
Verify and parse NodeId.
|
public static long getLogStartIndex(HtmlBlock.Block html, java.lang.String startStr) throws java.lang.NumberFormatException
html - the htmlstartStr - the start index stringjava.lang.NumberFormatExceptionpublic static long getLogEndIndex(HtmlBlock.Block html, java.lang.String endStr) throws java.lang.NumberFormatException
html - the htmlendStr - the end index stringjava.lang.NumberFormatExceptionpublic static org.apache.hadoop.yarn.api.records.ContainerId verifyAndGetContainerId(HtmlBlock.Block html, java.lang.String containerIdStr)
html - the htmlcontainerIdStr - the containerId stringContainerIdpublic static org.apache.hadoop.yarn.api.records.NodeId verifyAndGetNodeId(HtmlBlock.Block html, java.lang.String nodeIdStr)
html - the htmlnodeIdStr - the nodeId stringNodeIdpublic static java.lang.String verifyAndGetAppOwner(HtmlBlock.Block html, java.lang.String appOwner)
html - the htmlappOwner - the Application ownerpublic static long getLogStartTime(java.lang.String startStr)
throws java.lang.NumberFormatException
startStr - the start time stringjava.lang.NumberFormatExceptionpublic static long getLogEndTime(java.lang.String endStr)
throws java.lang.NumberFormatException
endStr - the end time stringjava.lang.NumberFormatExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.