YARN-9749. TestAppLogAggregatorImpl#testDFSQuotaExceeded fails on trunk. Contributed by Adam Antal
(cherry picked from commit 2a05e0ff3b
)
This commit is contained in:
parent
e616037d1f
commit
8fee3808c5
|
@ -395,7 +395,7 @@ public class AppLogAggregatorImpl implements AppLogAggregator {
|
|||
if (logAggregationSucceedInThisCycle && deletionTask != null) {
|
||||
delService.delete(deletionTask);
|
||||
}
|
||||
if (!diagnosticMessage.isEmpty()) {
|
||||
if (diagnosticMessage != null && !diagnosticMessage.isEmpty()) {
|
||||
LOG.debug("Sending log aggregation report along with the " +
|
||||
"following diagnostic message:\"{}\"", diagnosticMessage);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue