@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public abstract class LogAggregationHtmlBlock extends HtmlBlock
Modifier and Type | Class and Description |
---|---|
protected static class |
LogAggregationHtmlBlock.BlockParameters |
HtmlBlock.Block
View.ViewContext
BYTES_IN_MB, DATE_PATTERN, UNAVAILABLE
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Constructor and Description |
---|
LogAggregationHtmlBlock(View.ViewContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAcls(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
String owner,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls,
String remoteUser) |
protected long[] |
checkParseRange(HtmlBlock.Block html,
long startIndex,
long endIndex,
long startTime,
long endTime,
long logLength,
String logType) |
protected void |
processContainerLog(HtmlBlock.Block html,
long[] range,
InputStream in,
int bufferSize,
byte[] cbuf) |
protected LogAggregationHtmlBlock.BlockParameters |
verifyAndParseParameters(HtmlBlock.Block html) |
getCallerUGI, initUserHelpInformationDiv, render, render, renderPartial
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
@Inject public LogAggregationHtmlBlock(View.ViewContext ctx)
protected LogAggregationHtmlBlock.BlockParameters verifyAndParseParameters(HtmlBlock.Block html)
protected boolean checkAcls(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId appId, String owner, Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls, String remoteUser)
protected long[] checkParseRange(HtmlBlock.Block html, long startIndex, long endIndex, long startTime, long endTime, long logLength, String logType)
protected void processContainerLog(HtmlBlock.Block html, long[] range, InputStream in, int bufferSize, byte[] cbuf) throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.