Brahma Reddy Battula created YARN-3203:
------------------------------------------

             Summary: Correct the log message #AuxServices.java
                 Key: YARN-3203
                 URL: https://issues.apache.org/jira/browse/YARN-3203
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 2.6.0
            Reporter: Brahma Reddy Battula
            Assignee: Brahma Reddy Battula


 Currently log is coming like following..

WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices: 
The Auxilurary Service named 'mapreduce_shuffle' in the configuration is for  
*{color:red}class class{color}*  org.apache.hadoop.mapred.ShuffleHandler which 
has a name of 'httpshuffle'. Because these are not the same tools trying to 
send ServiceData and read Service Meta Data may have issues unless the refer to 
the name in the config.

Since get class will return class as prefix,, we no need keep "class" in log..

{code}
Class<? extends AuxiliaryService> sClass = conf.getClass(
              String.format(YarnConfiguration.NM_AUX_SERVICE_FMT, sName), null,
              AuxiliaryService.class);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to