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

This commit is contained in:
Li Lu 2016-03-15 11:47:39 -07:00
parent 3a0b695441
commit 5176a69868
1 changed files with 4 additions and 2 deletions

View File

@ -306,8 +306,10 @@ private void writeDomain(ApplicationAttemptId appAttemptId,
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);
}