Tsuyoshi OZAWA updated YARN-3203:
    Summary: Correct the log message in AuxServices  (was: Correct the log 
message #AuxServices.java)

> Correct the log message in AuxServices
> --------------------------------------
>                 Key: YARN-3203
>                 URL: https://issues.apache.org/jira/browse/YARN-3203
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Minor
>         Attachments: YARN-3203.patch
>  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

Reply via email to