YARN-6329. Remove unnecessary TODO comment from AppLogAggregatorImpl.java. Contributed by victor bertschinger.

This commit is contained in:
Akira Ajisaka 2017-03-29 10:35:30 +09:00
parent 063b513b1c
commit 82fb9ce8df
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -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);
}