YARN-6329. Remove unnecessary TODO comment from AppLogAggregatorImpl.java. Contributed by victor bertschinger.
This commit is contained in:
parent
063b513b1c
commit
82fb9ce8df
@ -573,8 +573,6 @@ private Path getRemoteNodeTmpLogFileForApp() {
|
||||
(remoteNodeLogFileForApp.getName() + LogAggregationUtils.TMP_FILE_SUFFIX));
|
||||
}
|
||||
|
||||
// TODO: The condition: containerId.getId() == 1 to determine an AM container
|
||||
// is not always true.
|
||||
private boolean shouldUploadLogs(ContainerLogContext logContext) {
|
||||
return logAggPolicy.shouldDoLogAggregation(logContext);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user