Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3203

Correct a log message in AuxServices

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      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 class class 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..

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

      Attachments

        1. YARN-3203.patch
          1 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: