YARN-6329. Remove unnecessary TODO comment from AppLogAggregatorImpl.java. Contributed by victor bertschinger.
(cherry picked from commit 82fb9ce8df
)
This commit is contained in:
parent
a65011a128
commit
554bc8342b
|
@ -573,8 +573,6 @@ public class AppLogAggregatorImpl implements AppLogAggregator {
|
|||
(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