diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index c028043b37..359e6470ae 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -312,6 +312,9 @@ Release 2.7.0 - UNRELEASED YARN-3230. Clarify application states on the web UI. (Jian He via wangda) + YARN-3237. AppLogAggregatorImpl fails to log error cause. + (Rushabh S Shah via xgong) + OPTIMIZATIONS YARN-2990. FairScheduler's delay-scheduling always waits for node-local and diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java index 8eb00f4f65..787422b8c5 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java @@ -248,7 +248,7 @@ private void uploadLogsForContainers() { } catch (IOException e1) { LOG.error("Cannot create writer for app " + this.applicationId - + ". Skip log upload this time. "); + + ". Skip log upload this time. ", e1); return; } @@ -549,7 +549,7 @@ public Set doContainerLogAggregation(LogWriter writer) { writer.append(logKey, logValue); } catch (Exception e) { LOG.error("Couldn't upload logs for " + containerId - + ". Skipping this container."); + + ". Skipping this container.", e); return new HashSet(); } this.uploadedFileMeta.addAll(logValue