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