YARN-4817. Change Log Level to DEBUG for putDomain call in ATS 1.5. (Xuan Gong via gtcarrera9)

(cherry-picked from commit 5176a69868)
This commit is contained in:
Li Lu 2016-03-15 11:47:39 -07:00
parent 0ebc947140
commit 8640a9c45f
1 changed files with 4 additions and 2 deletions

View File

@ -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 "
if (LOG.isDebugEnabled()) {
LOG.debug("Writing domains for " + appAttemptId.toString() + " to "
+ domainLogPath);
}
this.logFDsCache.writeDomainLog(
fs, domainLogPath, objMapper, domain, isAppendSupported);
}