@InterfaceAudience.Private @InterfaceStability.Unstable public class LogAggregationFileControllerContext extends Object
LogAggregationFileControllerContext
is a record used in
the log aggregation process.Constructor and Description |
---|
LogAggregationFileControllerContext(org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
org.apache.hadoop.fs.Path remoteNodeTmpLogFileForApp,
boolean logAggregationInRolling,
long rollingMonitorInterval,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
org.apache.hadoop.security.UserGroupInformation userUgi) |
Modifier and Type | Method and Description |
---|---|
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> |
getAppAcls() |
org.apache.hadoop.yarn.api.records.ApplicationId |
getAppId() |
int |
getCleanOldLogsTimes() |
int |
getLogAggregationTimes() |
long |
getLogUploadTimeStamp() |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
org.apache.hadoop.fs.Path |
getRemoteNodeLogFileForApp() |
org.apache.hadoop.fs.Path |
getRemoteNodeTmpLogFileForApp() |
long |
getRollingMonitorInterval() |
org.apache.hadoop.security.UserGroupInformation |
getUserUgi() |
void |
increcleanupOldLogTimes() |
void |
increLogAggregationTimes() |
boolean |
isLogAggregationInRolling() |
boolean |
isUploadedLogsInThisCycle() |
void |
setLogUploadTimeStamp(long uploadTimeStamp) |
void |
setUploadedLogsInThisCycle(boolean uploadedLogsInThisCycle) |
public LogAggregationFileControllerContext(org.apache.hadoop.fs.Path remoteNodeLogFileForApp, org.apache.hadoop.fs.Path remoteNodeTmpLogFileForApp, boolean logAggregationInRolling, long rollingMonitorInterval, org.apache.hadoop.yarn.api.records.ApplicationId appId, Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls, org.apache.hadoop.yarn.api.records.NodeId nodeId, org.apache.hadoop.security.UserGroupInformation userUgi)
public boolean isUploadedLogsInThisCycle()
public void setUploadedLogsInThisCycle(boolean uploadedLogsInThisCycle)
public org.apache.hadoop.fs.Path getRemoteNodeLogFileForApp()
public long getRollingMonitorInterval()
public boolean isLogAggregationInRolling()
public long getLogUploadTimeStamp()
public void setLogUploadTimeStamp(long uploadTimeStamp)
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
public org.apache.hadoop.security.UserGroupInformation getUserUgi()
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
public org.apache.hadoop.fs.Path getRemoteNodeTmpLogFileForApp()
public void increLogAggregationTimes()
public void increcleanupOldLogTimes()
public int getLogAggregationTimes()
public int getCleanOldLogsTimes()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.