From 5176a69868484f864c977a6cd13923167082407c Mon Sep 17 00:00:00 2001 From: Li Lu Date: Tue, 15 Mar 2016 11:47:39 -0700 Subject: [PATCH] YARN-4817. Change Log Level to DEBUG for putDomain call in ATS 1.5. (Xuan Gong via gtcarrera9) --- .../yarn/client/api/impl/FileSystemTimelineWriter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java index 44cad60c542..c494f655eae 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java @@ -306,8 +306,10 @@ public class FileSystemTimelineWriter extends TimelineWriter{ Path domainLogPath = new Path(createAttemptDir(appAttemptId), DOMAIN_LOG_PREFIX + appAttemptId.toString()); - LOG.info("Writing domains for " + appAttemptId.toString() + " to " - + domainLogPath); + if (LOG.isDebugEnabled()) { + LOG.debug("Writing domains for " + appAttemptId.toString() + " to " + + domainLogPath); + } this.logFDsCache.writeDomainLog( fs, domainLogPath, objMapper, domain, isAppendSupported); }