YARN-6951. Fix debug log when Resource Handler chain is enabled. Contributed by Yang Wang.

This commit is contained in:
Sunil G 2017-08-07 13:15:46 +05:30
parent d91b7a8451
commit 46b7054fa7
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class LinuxContainerExecutor extends ContainerExecutor {
.getConfiguredResourceHandlerChain(conf);
if (LOG.isDebugEnabled()) {
LOG.debug("Resource handler chain enabled = " + (resourceHandlerChain
== null));
!= null));
}
if (resourceHandlerChain != null) {
LOG.debug("Bootstrapping resource handler chain");