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

(cherry picked from commit 46b7054fa7eae9129c21c9f3dc70acff46bfdc41)
This commit is contained in:
Sunil G 2017-08-07 13:15:46 +05:30
parent 7f7ab0302f
commit d15bac141e

View File

@ -307,7 +307,7 @@ public void init() throws IOException {
.getConfiguredResourceHandlerChain(conf);
if (LOG.isDebugEnabled()) {
LOG.debug("Resource handler chain enabled = " + (resourceHandlerChain
== null));
!= null));
}
if (resourceHandlerChain != null) {
LOG.debug("Bootstrapping resource handler chain");